aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-02-28 01:06:45 +0100
committerMattias Andrée <maandree@kth.se>2021-02-28 01:06:45 +0100
commitb5b5cf008637714edbfb70e84d979b8f56257390 (patch)
tree17c5a1d1b1ed5e5f6daf0f0afaea76777d3ea4f3 /Makefile
parentFinish rewrite to C (diff)
downloadgpp-b5b5cf008637714edbfb70e84d979b8f56257390.tar.gz
gpp-b5b5cf008637714edbfb70e84d979b8f56257390.tar.bz2
gpp-b5b5cf008637714edbfb70e84d979b8f56257390.tar.xz
Update makefile
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index dae30f0..5aff12f 100644
--- a/Makefile
+++ b/Makefile
@@ -14,10 +14,10 @@ gpp: gpp.o
$(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS)
install: gpp
- install -dm755 -- "$(DESTDIR)$(PREFIX)/bin"
- install -m755 -- gpp "$(DESTDIR)$(PREFIX)/bin/gpp"
- install -dm755 -- "$(DESTDIR)$(MANPREFIX)/man"
- install -m644 -- gpp.1 "$(DESTDIR)$(MANPREFIX)/man/gpp.1"
+ mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
+ mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man"
+ cp -- gpp "$(DESTDIR)$(PREFIX)/bin/gpp"
+ cp -- gpp.1 "$(DESTDIR)$(MANPREFIX)/man/gpp.1"
uninstall:
-rm -- "$(DESTDIR)$(PREFIX)/bin/gpp"