Added uninstall in Makefile

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

View File

@ -42,6 +42,11 @@ install: ${PROG}
install -m 644 cwm.1 ${DESTDIR}${MANPREFIX}/man1 install -m 644 cwm.1 ${DESTDIR}${MANPREFIX}/man1
install -m 644 cwmrc.5 ${DESTDIR}${MANPREFIX}/man5 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: release:
VERSION=$$(git describe --tags | sed 's/^v//;s/-[^.]*$$//') && \ VERSION=$$(git describe --tags | sed 's/^v//;s/-[^.]*$$//') && \
git archive --prefix=cwm-$$VERSION/ -o cwm-$$VERSION.tar.gz HEAD git archive --prefix=cwm-$$VERSION/ -o cwm-$$VERSION.tar.gz HEAD