Makefile
author Mahlon E. Smith <mahlon@laika.com>
Tue, 08 Jan 2013 11:27:59 -0800
changeset 43 b8836c9018fb
parent 13 d7975e514b2a
child 47 bf9d6fa1b1d4
permissions -rw-r--r--
Attempt to retry the operation on failure. Less-than-optimal behavior reported by Alexander Perlis <aperlis@math.lsu.edu>.


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}