shelldap/Makefile
mahlon@martini.nu 7543feaf95 Add a quick Makefile to automate future release tarballs.
FossilOrigin-Name: 02521c69535a3814bb639bc0747adfdc111792667e9f5513611299fc2a4f58d5
2011-02-22 01:08:59 +00:00

10 lines
349 B
Makefile

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}