diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-10-24 23:06:45 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-10-24 23:06:45 +0200 |
commit | 7f03b53626b2cf88238e0b5fb070dd211486d02f (patch) | |
tree | a22a100be982418cb3a1924a96226cc27d506c16 | |
parent | gpp conflicts with other packages (diff) | |
download | gpp-1.1.tar.gz gpp-1.1.tar.bz2 gpp-1.1.tar.xz |
more flexible info file1.1
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | info/gpp.texinfo | 14 |
3 files changed, 12 insertions, 8 deletions
@@ -14,4 +14,5 @@ __pycache__/ /gpp *.info *.gz +*.install @@ -24,10 +24,13 @@ doc: info .PHONY: info info: gpp.info.gz -%.info.gz: info/%.texinfo +%.info.gz: info/%.texinfo.install makeinfo "$<" gzip -9 -f "$*.info" +info/%.texinfo.install: info/%.texinfo + $(PY3) gpp -s '?' -D GPP=$(COMMAND) < "$<" > "$@" + gpp: src/gpp.py VERSION=$(VERSION) SHEBANG="$(SHEBANG)" $(PY3) "$<" -u -u < "$<" > "$@" diff --git a/info/gpp.texinfo b/info/gpp.texinfo index b9ee4cd..a758920 100644 --- a/info/gpp.texinfo +++ b/info/gpp.texinfo @@ -2,7 +2,7 @@ @c %**start of header @setfilename gpp.info -@settitle gpp +@settitle ?{GPP} @afourpaper @documentencoding UTF-8 @documentlanguage en @@ -12,7 +12,7 @@ @dircategory Development @direntry -* gpp: (gpp). Bash based preprocessor for anything +* ?{GPP}: (?{GPP}). Bash based preprocessor for anything @end direntry @@ -50,9 +50,9 @@ Texts. A copy of the license is included in the section entitled @menu -* Overview:: Brief overview of @command{gpp}. -* Invoking:: Invoking @command{gpp}. -* Syntax:: Syntax of @command{gpp}. +* Overview:: Brief overview of @command{?{GPP}}. +* Invoking:: Invoking @command{?{GPP}}. +* Syntax:: Syntax of @command{?{GPP}}. * GNU Free Documentation License:: Copying and sharing this manual. @end menu @@ -93,8 +93,8 @@ lines. @node Invoking @chapter Invoking -Syntax for invoking @command{gpp}: -@command{gpp [options...]} +Syntax for invoking @command{?{GPP}}: +@command {?{GPP} [options...]} Short options must not be joined and the value for a flag must be in a |