aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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