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}