Makefile
author Salvatore Bonaccorso <carnil@debian.org>
Wed, 10 Oct 2012 22:44:40 +0200
changeset 41 3e7c107f8b93
parent 13 d7975e514b2a
child 47 bf9d6fa1b1d4
permissions -rw-r--r--
Take only second argument for run_{cd,edit,mkdir} Make the behaviour of cd, edit and mkdir similar to cat and delete/rm and fail if some RDN's in the argument contain spaces without beeing quoted. --- shelldap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)


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}