aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 9a7a29fe3f662a8c0b99f023f53b125ef0fb4d7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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} 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 ${DESTDIR}${MAN1}/kiss.1


.PHONY: install uninstall