Makefile
author Mahlon E. Smith <mahlon@laika.com>
Thu, 10 Jan 2013 18:24:27 -0800
changeset 46 f0616455056d
parent 13 d7975e514b2a
child 47 bf9d6fa1b1d4
permissions -rw-r--r--
Fix the uninitialized $path value errors I erroneously introduced on 'cd' without an argument.


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}