Add a quick Makefile to automate future release tarballs.
FossilOrigin-Name: 02521c69535a3814bb639bc0747adfdc111792667e9f5513611299fc2a4f58d5
This commit is contained in:
parent
071c0c9177
commit
7543feaf95
1 changed files with 10 additions and 0 deletions
10
Makefile
Normal file
10
Makefile
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
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}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue