From 7543feaf95fc4052ff0df5d1cc5ae0d39801cd60 Mon Sep 17 00:00:00 2001 From: "mahlon@martini.nu" Date: Tue, 22 Feb 2011 01:08:59 +0000 Subject: [PATCH] Add a quick Makefile to automate future release tarballs. FossilOrigin-Name: 02521c69535a3814bb639bc0747adfdc111792667e9f5513611299fc2a4f58d5 --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..cdb49e0 --- /dev/null +++ b/Makefile @@ -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}