diff options
| author | fuzzyray <fuzzyray@gentoo.org> | 2009-05-20 14:27:01 +0000 |
|---|---|---|
| committer | fuzzyray <fuzzyray@gentoo.org> | 2009-05-20 14:27:01 +0000 |
| commit | 545d7f4a65d03431b901e22891259a773d4c88eb (patch) | |
| tree | 59d53b490c006a67d10929550fe331b670fe8aa6 /Makefile | |
| parent | 5c647b701761d538c83356594088c62e0a14964c (diff) | |
| download | gentoolkit-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-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |
