author | Mahlon E. Smith <mahlon@laika.com> |
Tue, 03 Dec 2013 10:27:03 -0800 | |
changeset 61 | e3bd30b95695 |
parent 47 | bf9d6fa1b1d4 |
child 89 | aa4172c204d4 |
permissions | -rw-r--r-- |
13
d7975e514b2a
Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
1 |
|
47
bf9d6fa1b1d4
Fix the gmake variable that snags the current version number.
Mahlon E. Smith <mahlon@martini.nu>
parents:
13
diff
changeset
|
2 |
VERSION := $(shell awk '/VERSION =/ { print $$4 }' shelldap | sed -e "s/[';]//g") |
13
d7975e514b2a
Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
3 |
|
d7975e514b2a
Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
4 |
release: |
d7975e514b2a
Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
5 |
@mkdir shelldap-${VERSION} |
d7975e514b2a
Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
6 |
@cp shelldap shelldap-${VERSION} |
d7975e514b2a
Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
7 |
@hg log --style=changelog > shelldap-${VERSION}/ChangeLog |
d7975e514b2a
Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
8 |
@pod2text shelldap > shelldap-${VERSION}/README |
d7975e514b2a
Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
9 |
@tar -czvf shelldap-${VERSION}.tar.gz shelldap-${VERSION} |
d7975e514b2a
Add a quick Makefile to automate future release tarballs.
Mahlon E. Smith <mahlon@martini.nu>
parents:
diff
changeset
|
10 |
@rm -rf shelldap-${VERSION} |