From b5b5cf008637714edbfb70e84d979b8f56257390 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 28 Feb 2021 01:06:45 +0100 Subject: Update makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') 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" -- cgit v1.2.3-70-g09d2