summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-07-12 12:03:31 -0400
committerJameson Graef Rollins <jrollins@finestructure.net>2009-07-12 12:03:31 -0400
commit149197652f5c404a83e14c5d004fdf5dd1509e4c (patch)
treebf0a3e849b06d1566ba3347fa5e44af97a437a4e /Makefile
parent2b922e5ac4950e1260e2ac8e62e73a6aca1b3dca (diff)
parentb5999e976516c0cbde5063635bf8bba74e7a18ad (diff)
Merge commit 'mlcastle/master'
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1744ea8..7db62e4 100755
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,9 @@ tarball: clean
mkdir -p monkeysphere-$(MONKEYSPHERE_VERSION)/doc
ln -s ../../website/getting-started-user.mdwn ../../website/getting-started-admin.mdwn ../../doc/TODO ../../doc/MonkeySpec monkeysphere-$(MONKEYSPHERE_VERSION)/doc
ln -s ../COPYING ../etc ../Makefile ../man ../src ../tests monkeysphere-$(MONKEYSPHERE_VERSION)
- echo $(MONKEYSPHERE_VERSION) > monkeysphere-$(MONKEYSPHERE_VERSION)/VERSION
+ echo Monkeysphere $(MONKEYSPHERE_VERSION) > monkeysphere-$(MONKEYSPHERE_VERSION)/VERSION
+ echo -n "git revision " >> monkeysphere-$(MONKEYSPHERE_VERSION)/VERSION
+ git rev-parse HEAD >> monkeysphere-$(MONKEYSPHERE_VERSION)/VERSION
tar -ch --exclude='*~' monkeysphere-$(MONKEYSPHERE_VERSION) | gzip -n > monkeysphere_$(MONKEYSPHERE_VERSION).orig.tar.gz
rm -rf monkeysphere-$(MONKEYSPHERE_VERSION)