aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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