source: Makefile @ d7975e514b2a

Revision d7975e514b2a, 349 bytes checked in by Mahlon E. Smith <mahlon@…>, 15 months ago (diff)

Add a quick Makefile to automate future release tarballs.

Line 
1
2VERSION := $(shell awk '/VERSION/ { print $$4 }' shelldap | sed -e "s/[';]//g")
3
4release:
5    @mkdir shelldap-${VERSION}
6    @cp shelldap shelldap-${VERSION}
7    @hg log --style=changelog > shelldap-${VERSION}/ChangeLog
8    @pod2text shelldap > shelldap-${VERSION}/README
9    @tar -czvf shelldap-${VERSION}.tar.gz shelldap-${VERSION}
10    @rm -rf shelldap-${VERSION}
Note: See TracBrowser for help on using the repository browser.