Added uninstall in Makefile

This commit is contained in:
Ypnose 2013-05-15 12:54:26 +02:00
parent 843f18aaee
commit dc8fd144b6

View File

@ -41,6 +41,11 @@ install: ${PROG}
install -m 755 cwm ${DESTDIR}${PREFIX}/bin
install -m 644 cwm.1 ${DESTDIR}${MANPREFIX}/man1
install -m 644 cwmrc.5 ${DESTDIR}${MANPREFIX}/man5
uninstall
rm -f ${DESTDIR}${PREFIX}/bin/cwm
rm -f ${DESTDIR}${MANPREFIX}/man1/cwm.1
rm -f ${DESTDIR}${MANPREFIX}/man5/cwmrc.5
release:
VERSION=$$(git describe --tags | sed 's/^v//;s/-[^.]*$$//') && \