Makefile
author Peter Marschall <peter@adpm.de>
Sat, 05 Mar 2011 17:46:57 +0100
changeset 17 669085d93aa3
parent 13 d7975e514b2a
child 47 bf9d6fa1b1d4
permissions -rw-r--r--
simplify over-complex call of N:L:E->get_value() @{ Net::LDAP::Entry->get_value(..., asref => 1) } is equivalent to Net::LDAP::Entry->get_value(...)


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}