shelldap/Makefile
mahlon@martini.nu 83608df8b9 Fix the gmake variable that snags the current version number.
FossilOrigin-Name: d04c5aa8d47cb9a5d12520ae3599dbbbf676800486c31b8d349aad1a7bf476e0
2013-01-14 04:29:12 +00:00

10 lines
351 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}