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 6707703..48bc8fb 100644
--- a/Makefile
+++ b/Makefile
@@ -13,10 +13,13 @@ file2key.o: file2key.c settings.h config.h
install: file2key
mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
+ mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1"
cp -- file2key "$(DESTDIR)$(PREFIX)/bin/"
+ cp -- file2key.1 "$(DESTDIR)$(MANPREFIX)/man1/"
uninstall:
-rm -f -- "$(DESTDIR)$(PREFIX)/bin/file2key"
+ -rm -f -- "$(DESTDIR)$(MANPREFIX)/man1/file2key.1"
clean:
-rm -rf -- *.o file2key