aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCode Fox <codefox98765@proton.me>2026-06-22 22:06:40 +0100
committerdacctal <donotcontactmevia@email.invalid>2026-06-23 16:08:39 +0000
commitc3f72687c25f7a2d7c4040a08f36e8e89c1b0054 (patch)
treecf6b59d73e3add72ab77c4b1bc6e5f6c8a016abf /Makefile
parenta3bf00faa937fe7aa6b982d65e8a520e277575b8 (diff)
added man page for pkgit
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; \