aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-02-22 17:35:50 +0100
committerMattias Andrée <maandree@kth.se>2021-02-22 17:35:50 +0100
commit193a22e6b8795f3a4dc629d5867b34e10f0e7b48 (patch)
tree8ae5dbac29c9e0b4f6e1cb2235e4a95cd65211e0 /Makefile
parentUpdate README and remove info manual (diff)
downloadkrandom-2.0.tar.gz
krandom-2.0.tar.bz2
krandom-2.0.tar.xz
Add man page2.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9c344a5..583c460 100644
--- a/Makefile
+++ b/Makefile
@@ -13,10 +13,13 @@ krandom.o: krandom.c arg.h
install: krandom
mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
+ mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1"
cp -- krandom "$(DESTDIR)$(PREFIX)/bin/"
+ cp -- krandom.1 "$(DESTDIR)$(MANPREFIX)/man1/"
uninstall:
-rm -f -- "$(DESTDIR)$(PREFIX)/bin/krandom"
+ -rm -f -- "$(DESTDIR)$(MANPREFIX)/man1/krandom.1"
clean:
-rm -r -- krandom *.o