aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-04-04 23:26:08 +0000
committermerakor <cem@ckyln.com>2020-04-04 23:26:08 +0000
commit09abbb52611c57bb6799aeae8bfd71f8fa0d7a0e (patch)
treec911745d24a752e826be878a02e1d2f09b2649cc
parentbaaa712d4f71e868b78dacb9540cc16a7c642f7b (diff)
downloadcpt-09abbb52611c57bb6799aeae8bfd71f8fa0d7a0e.tar.gz
Makefile: update for manpage changes
FossilOrigin-Name: a57c3ac5f0b0347629dc867c77fb73a0bb306d78a0b5ae55c67af37a1efa5957
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3b0dcfb..9a7a29f 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,13 @@ MAN1 = ${MANPREFIX}/man1
install:
install -Dm755 -t ${DESTDIR}${BINDIR} kiss
install -Dm755 -t ${DESTDIR}${BINDIR} contrib/*
- install -Dm644 -t ${DESTDIR}${MAN1} kiss.1
+ install -Dm644 -t ${DESTDIR}${MAN1} man/*.1
+
uninstall:
rm -f ${DESTDIR}${BINDIR}/kiss
for bin in contrib/* ; do rm -f ${DESTDIR}${BINDIR}/$${bin##*/} ; done
- rm -f ${DESTDIR}${MAN1}/kiss.1
+ rm -f ${DESTDIR}${MAN1}/kiss.1 ${DESTDIR}${MAN1}/kiss.1
+
+
+.PHONY: install uninstall