mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Added uninstall in Makefile
This commit is contained in:
parent
843f18aaee
commit
dc8fd144b6
5
Makefile
5
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user