diff options
author | Mattias Andrée <maandree@kth.se> | 2021-02-28 01:06:45 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-02-28 01:06:45 +0100 |
commit | b5b5cf008637714edbfb70e84d979b8f56257390 (patch) | |
tree | 17c5a1d1b1ed5e5f6daf0f0afaea76777d3ea4f3 /Makefile | |
parent | Finish rewrite to C (diff) | |
download | gpp-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 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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" |