aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-06-01 20:49:35 +0200
committerMattias Andrée <maandree@kth.se>2020-06-01 20:49:35 +0200
commita73003803edc86c00bc60a20a42d499eec9bf0ec (patch)
tree713acfd48c279749a2768e8fe4a803ef6785b439 /Makefile
parentPrint data stored to output parameters in system calls (diff)
downloadsctrace-a73003803edc86c00bc60a20a42d499eec9bf0ec.tar.gz
sctrace-a73003803edc86c00bc60a20a42d499eec9bf0ec.tar.bz2
sctrace-a73003803edc86c00bc60a20a42d499eec9bf0ec.tar.xz
Makefile: install and uninstall man page1.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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