Makefile
changeset 89 aa4172c204d4
parent 47 bf9d6fa1b1d4
equal deleted inserted replaced
88:60f1cf97910d 89:aa4172c204d4
     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}