From 5b89f59f1e31fb669444b340e75370ff9cb683c9 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 23 Aug 2014 16:49:30 +0200 Subject: python2 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 440b453..851d2cf 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-70-g09d2