Add a quick Makefile to automate future release tarballs.

FossilOrigin-Name: 02521c69535a3814bb639bc0747adfdc111792667e9f5513611299fc2a4f58d5
This commit is contained in:
Mahlon E. Smith 2011-02-22 01:08:59 +00:00
parent 071c0c9177
commit 7543feaf95

10
Makefile Normal file
View file

@ -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}