From ff53e3d68b65305663b04edc07265a9831f0a28d Mon Sep 17 00:00:00 2001 From: merakor Date: Tue, 17 Mar 2020 14:28:13 +0000 Subject: add makefile FossilOrigin-Name: 11e6a474e9d8ea99b19bdc2567e6a8c576bdb8c8ac0ff97381448af07fc0e112 --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3