aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-02-22 15:52:10 +0100
committerMattias Andrée <maandree@kth.se>2021-02-22 15:52:10 +0100
commit5d0de5ed03925b5d2e475105a0b4ed01bb6f56be (patch)
treeff340426f1c24caff9b35e4333e235c1ca986ae3 /Makefile
parentMake libpassphrase optional (diff)
downloadfile2key-3.tar.gz
file2key-3.tar.bz2
file2key-3.tar.xz
Add man page3
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 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