Makefile
author Peter Marschall <peter@adpm.de>
Sun, 06 Mar 2011 20:11:47 +0100
changeset 30 e4b4b0968107
parent 13 d7975e514b2a
child 47 bf9d6fa1b1d4
permissions -rw-r--r--
add method path_to_dn() to convert a given "path" to a DN path_to_dn() replaces the occurrences of '~', '.' and '..' in a path given and returns a DN. However, it does not check whether the DN is valid. Especially: - on return it is not guaranteed that the DN exists - on return the first part does not need to be a valid RDN


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}