projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8adb9ce
)
automate updating of VERSION file
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Tue, 23 Mar 2010 19:47:14 +0000
(15:47 -0400)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Tue, 23 Mar 2010 19:47:14 +0000
(15:47 -0400)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index f52c82cc1485a3826e6f07260956bd2a2dfec667..3880713c4a5d4ce0836b8ab4bdedc6d7d052885d 100755
(executable)
--- a/
Makefile
+++ b/
Makefile
@@
-5,7
+5,7
@@
# © 2008-2010 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
# Licensed under GPL v3 or later
# © 2008-2010 Daniel Kahn Gillmor <dkg@fifthhorseman.net>
# Licensed under GPL v3 or later
-MONKEYSPHERE_VERSION
= `head -n1 Changelog | sed 's/.*(\([^-]*\)).*/\1/'`
+MONKEYSPHERE_VERSION
:=$(shell head -n1 Changelog | sed 's/.*(\([^-]*\)).*/\1/')
# these defaults are for debian. porters should probably adjust them
# before calling make install
# these defaults are for debian. porters should probably adjust them
# before calling make install
@@
-26,6
+26,9
@@
tarball: clean
tar -ch --exclude='*~' monkeysphere-$(MONKEYSPHERE_VERSION) | gzip -n > monkeysphere_$(MONKEYSPHERE_VERSION).orig.tar.gz
rm -rf monkeysphere-$(MONKEYSPHERE_VERSION)
tar -ch --exclude='*~' monkeysphere-$(MONKEYSPHERE_VERSION) | gzip -n > monkeysphere_$(MONKEYSPHERE_VERSION).orig.tar.gz
rm -rf monkeysphere-$(MONKEYSPHERE_VERSION)
+VERSION: Changelog
+ sed 's/^Monkeysphere .*$$/Monkeysphere '$(MONKEYSPHERE_VERSION)'/' -i VERSION
+
debian-package:
git buildpackage -uc -us --git-upstream-branch=master --git-debian-branch=debian --git-no-pristine-tar --git-ignore-new
debian-package:
git buildpackage -uc -us --git-upstream-branch=master --git-debian-branch=debian --git-no-pristine-tar --git-ignore-new