Makefile
author Mahlon E. Smith <mahlon@laika.com>
Fri, 15 Mar 2013 10:02:20 -0700
changeset 50 21ba5eb5c2fc
parent 47 bf9d6fa1b1d4
child 89 aa4172c204d4
permissions -rw-r--r--
Numerous changes: - Add a command line option (-f) to specify an alternate configuration file. - Whitespace and comment cleanup. - Allow setting the $editor from the config file. - Break out the fetching of valid must/may attributes for an object class into a separate function - Offer to re-enter the editor if there is an error during create or edit, so changes aren't lost. Thanks to Alexander Perlis <aperlis@math.lsu.edu> for the suggestion. - Wrap the passwd command with connection retry. - Change the version number to reflect semantic versioning (http://semver.org), in preparation of the 1.0.0 release.


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}