aboutsummaryrefslogtreecommitdiff
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 d90be51..0554ac7 100644
--- a/Makefile
+++ b/Makefile
@@ -25,9 +25,12 @@ debug: pkgit
install: pkgit
install -d ${DESTDIR}${PREFIX}/bin
install -m 755 pkgit ${DESTDIR}${PREFIX}/bin/pkgit
+ install -d ${DESTDIR}${PREFIX}/share/man/man1
+ install -m 644 src/pkgit.1 ${DESTDIR}${PREFIX}/share/man/man1/pkgit.1
uninstall: ${DESTDIR}${PREFIX}/bin/pkgit
${RM} ${DESTDIR}${PREFIX}/bin/pkgit
+ ${RM} ${DESTDIR}${PREFIX}/share/man/man1/pkgit.1
defconfig:
@if [ "$$(id -u)" -eq 0 ]; then dir=/etc/pkgit; else dir=~/.config/pkgit; fi; \