summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorfuzzyray <fuzzyray@gentoo.org>2009-05-20 14:27:01 +0000
committerfuzzyray <fuzzyray@gentoo.org>2009-05-20 14:27:01 +0000
commit545d7f4a65d03431b901e22891259a773d4c88eb (patch)
tree59d53b490c006a67d10929550fe331b670fe8aa6 /Makefile
parent5c647b701761d538c83356594088c62e0a14964c (diff)
downloadgentoolkit-545d7f4a65d03431b901e22891259a773d4c88eb.tar.gz
Create a VERSION file to replace /etc/gentoolkit-version
svn path=/trunk/gentoolkit/; revision=642
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 462bc56..27dd699 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,10 @@
#
# $Header$
+ifeq ($(origin VERSION), undefined)
+ VERSION = 9999
+endif
+
all:
echo "YARMOUTH (vb.) To shout at foreigners in the belief that the louder you speak, the better they'll understand you."
echo $(VERSION)
@@ -15,7 +19,7 @@ dist: dist-gentoolkit
dist-gentoolkit:
mkdir -p release
- sed -i "s/^VER =.*/VER = '$(VERSION)'/" setup.py
+ echo "$(VERSION)" > VERSION
python setup.py sdist --dist-dir release
- svn revert setup.py
+ svn revert VERSION
rm -f MANIFEST