aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-10-24 23:06:45 +0200
committerMattias Andrée <maandree@operamail.com>2013-10-24 23:06:45 +0200
commit7f03b53626b2cf88238e0b5fb070dd211486d02f (patch)
treea22a100be982418cb3a1924a96226cc27d506c16 /Makefile
parentgpp conflicts with other packages (diff)
downloadgpp-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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8299bd5..f624f49 100644
--- a/Makefile
+++ b/Makefile
@@ -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 < "$<" > "$@"