Makefile
changeset 95 c527f97c28f1
parent 89 aa4172c204d4
equal deleted inserted replaced
94:4464f9984530 95:c527f97c28f1
     2 VERSION := $(shell awk '/VERSION =/ { print $$4 }' shelldap | sed -e "s/[';]//g")
     2 VERSION := $(shell awk '/VERSION =/ { print $$4 }' shelldap | sed -e "s/[';]//g")
     3 
     3 
     4 release:
     4 release:
     5 	@mkdir shelldap-${VERSION}
     5 	@mkdir shelldap-${VERSION}
     6 	@cp shelldap shelldap-${VERSION}
     6 	@cp shelldap shelldap-${VERSION}
     7 	@hg log --style=changelog > shelldap-${VERSION}/ChangeLog
     7 	@pod2text shelldap > shelldap-${VERSION}/USAGE
     8 	@pod2text shelldap > shelldap-${VERSION}/README
       
     9 	@tar -czvf shelldap-${VERSION}.tar.gz shelldap-${VERSION}
     8 	@tar -czvf shelldap-${VERSION}.tar.gz shelldap-${VERSION}
    10 	@rm -rf shelldap-${VERSION}
     9 	@rm -rf shelldap-${VERSION}