diff options
author | mike castleman <m@mlcastle.net> | 2009-07-11 21:41:13 -0400 |
---|---|---|
committer | mike castleman <m@mlcastle.net> | 2009-07-11 21:41:13 -0400 |
commit | b5999e976516c0cbde5063635bf8bba74e7a18ad (patch) | |
tree | 5ae4548461cfa858b4a732ce1e526b7c29b8d734 /Makefile | |
parent | b959e0f646558328567c91b77d1ecee2c674099e (diff) |
show git revision in version commands
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) |