Makefile
author Mahlon E. Smith <mahlon@martini.nu>
Tue, 06 Sep 2011 15:59:05 -0700
changeset 15 f6157d378459
parent 13 d7975e514b2a
child 47 bf9d6fa1b1d4
permissions -rw-r--r--
Exit with a nicer error message if IO::Socket::SSL isn't installed, but the user is requesting SSL/TLS. (this is normally required by Net::LDAP.)


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}