# HG changeset patch # User Mahlon E. Smith # Date 1298336939 28800 # Node ID d7975e514b2a9d347a2781f1de7436d2e3284882 # Parent d703cba056e3380b282495e0bd1a25ef41dc2978 Add a quick Makefile to automate future release tarballs. diff -r d703cba056e3 -r d7975e514b2a Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Mon Feb 21 17:08:59 2011 -0800 @@ -0,0 +1,10 @@ + +VERSION := $(shell awk '/VERSION/ { print $$4 }' shelldap | sed -e "s/[';]//g") + +release: + @mkdir shelldap-${VERSION} + @cp shelldap shelldap-${VERSION} + @hg log --style=changelog > shelldap-${VERSION}/ChangeLog + @pod2text shelldap > shelldap-${VERSION}/README + @tar -czvf shelldap-${VERSION}.tar.gz shelldap-${VERSION} + @rm -rf shelldap-${VERSION}