mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Add release target to Makefile
This commit is contained in:
parent
de5efc6a54
commit
5f79bace21
4
Makefile
4
Makefile
@ -41,3 +41,7 @@ install: ${PROG}
|
|||||||
install -m 755 cwm ${DESTDIR}${PREFIX}/bin
|
install -m 755 cwm ${DESTDIR}${PREFIX}/bin
|
||||||
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
|
||||||
|
|
||||||
|
release:
|
||||||
|
VERSION=$$(git describe --tags | sed 's/^v//;s/-[^.]*$$//') && \
|
||||||
|
git archive --prefix=cwm-$$VERSION/ -o cwm-$$VERSION.tar.gz HEAD
|
||||||
|
Loading…
Reference in New Issue
Block a user