Makefile
author Mahlon E. Smith <mahlon@laika.com>
Tue, 03 Dec 2013 10:13:24 -0800
changeset 60 f90f7ff0b146
parent 47 bf9d6fa1b1d4
child 89 aa4172c204d4
permissions -rw-r--r--
Fix the DN regexp to include dashes. Patch from Mike Hix <m@hix.io>.


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}