aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3b0dcfb
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+PREFIX = /usr/local
+BINDIR = ${PREFIX}/bin
+MANPREFIX = ${PREFIX}/share/man
+MAN1 = ${MANPREFIX}/man1
+
+install:
+ install -Dm755 -t ${DESTDIR}${BINDIR} kiss
+ install -Dm755 -t ${DESTDIR}${BINDIR} contrib/*
+ install -Dm644 -t ${DESTDIR}${MAN1} kiss.1
+
+uninstall:
+ rm -f ${DESTDIR}${BINDIR}/kiss
+ for bin in contrib/* ; do rm -f ${DESTDIR}${BINDIR}/$${bin##*/} ; done
+ rm -f ${DESTDIR}${MAN1}/kiss.1