aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-02-27 10:57:22 +0100
committerMattias Andrée <maandree@kth.se>2021-02-27 11:02:02 +0100
commitb83198852fb7d91a3af9d826b8a9abc30d1411b9 (patch)
treeb7f3cbf211695d6e819851226216bf7665dfe1f6 /Makefile
parentAdd include path example (diff)
downloadgpp-b83198852fb7d91a3af9d826b8a9abc30d1411b9.tar.gz
gpp-b83198852fb7d91a3af9d826b8a9abc30d1411b9.tar.bz2
gpp-b83198852fb7d91a3af9d826b8a9abc30d1411b9.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 96fd134..f841829 100644
--- a/Makefile
+++ b/Makefile
@@ -7,13 +7,13 @@ PKGNAME = gpp
COMMAND = gpp
PY = python
-SHEBANG = /usr$(BIN)/env $(PY)
+SHEBANG = /usr/bin/env $(PY)
all: gpp
gpp: gpp.py
- env VERSION='$(VERSION)' SHEBANG='$(SHEBANG)' $(PY) "$<" < "$<" > "$@"
+ env SHEBANG='$(SHEBANG)' $(PY) gpp.py < gpp.py > $@
install: gpp
install -dm755 -- "$(DESTDIR)$(PREFIX)/bin"