From a73003803edc86c00bc60a20a42d499eec9bf0ec Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 1 Jun 2020 20:49:35 +0200 Subject: Makefile: install and uninstall man page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 251e7ed..6687ce7 100644 --- a/Makefile +++ b/Makefile @@ -42,10 +42,13 @@ list-signums.h: install: sctrace mkdir -p -- "$(DESTDIR)$(PREFIX)/bin" + mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1" cp -- sctrace "$(DESTDIR)$(PREFIX)/bin" + cp -- sctrace.1 "$(DESTDIR)$(MANPREFIX)/man1" uninstall: -rm -f -- "$(DESTDIR)$(PREFIX)/bin/sctrace" + -rm -f -- "$(DESTDIR)$(MANPREFIX)/man1/sctrace.1" clean: -rm -f -- *.o list-*.h sctrace -- cgit v1.2.3-70-g09d2