Makefile
author Dennis Kaarsemaker <dennis.kaarsemaker@booking.com>
Mon, 11 Aug 2014 11:19:01 -0700
changeset 68 1a480ba231b6
parent 47 bf9d6fa1b1d4
child 89 aa4172c204d4
permissions -rw-r--r--
Explicitly disable wrapping when writing to file, leaving it up to the user's editor. No reason to have shelldap and editor wrap battles. Dennis Kaarsemaker <dennis.kaarsemaker@booking.com>


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}