diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-23 16:49:30 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-23 16:49:30 +0200 |
commit | 5b89f59f1e31fb669444b340e75370ff9cb683c9 (patch) | |
tree | 96522a9950751f64566257208ee25460332b37a8 /Makefile | |
parent | update dist (diff) | |
download | gpp-5b89f59f1e31fb669444b340e75370ff9cb683c9.tar.gz gpp-5b89f59f1e31fb669444b340e75370ff9cb683c9.tar.bz2 gpp-5b89f59f1e31fb669444b340e75370ff9cb683c9.tar.xz |
python2 support
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -9,8 +9,8 @@ PREFIX = /usr DATA = /share BIN = /bin PKGNAME = gpp -PY3 = python3 -SHEBANG = /usr$(BIN)/env $(PY3) +PY = python3 +SHEBANG = /usr$(BIN)/env $(PY) COMMAND = gpp LICENSES = $(DATA)/licenses @@ -28,10 +28,10 @@ info: gpp.info makeinfo "$<" info/%.texinfo.install: info/%.texinfo - $(PY3) gpp -s '?' -D GPP=$(COMMAND) < "$<" > "$@" + $(PY) gpp -s '?' -D GPP=$(COMMAND) < "$<" > "$@" gpp: src/gpp.py - VERSION=$(VERSION) SHEBANG="$(SHEBANG)" $(PY3) "$<" -u -u < "$<" > "$@" + VERSION='$(VERSION)' SHEBANG='$(SHEBANG)' $(PY) "$<" < "$<" > "$@" .PHONY: install install: install-core install-doc @@ -67,5 +67,5 @@ uninstall: .PHONY: clean clean: - -rm -f gpp gpp.info + -rm -f gpp gpp.info *.install* info/*.install |