aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-12-27 16:21:54 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-12-27 16:21:54 +0000
commitcd7c8d1806bead516cebb0a1f3db26c62dde19ac (patch)
tree1815dae6c4cb20887b7e22b2943b0656769591ac
parentRenamed xml-rewrite2.py to xml-rewrite-2.py and added Makefile things for it. (diff)
downloadjavatoolkit-cd7c8d1806bead516cebb0a1f3db26c62dde19ac.tar.gz
javatoolkit-cd7c8d1806bead516cebb0a1f3db26c62dde19ac.tar.bz2
javatoolkit-cd7c8d1806bead516cebb0a1f3db26c62dde19ac.zip
Made the tarball bzip2 and added upload target for uploading the tarball to Gentoo mirrors. Added 0.2.0 as the version.
svn path=/projects/javatoolkit/trunk/; revision=3422
-rw-r--r--Makefile5
-rw-r--r--makedefs.mak2
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 55ed44f..5ceee6c 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ dist-javatoolkit:
sed "s/^VERSION=.*/VERSION=$(VERSION)/" | \
sed "s/^RELEASE_TAG=.*/RELEASE_TAG=$(RELEASE_TAG)/" \
> release/javatoolkit-$(VERSION)$(RELEASE_TAG)/makedefs.mak
- ( cd release ; tar zcf javatoolkit-$(VERSION)$(RELEASE_TAG).tar.gz javatoolkit-$(VERSION)$(RELEASE_TAG)/ )
+ ( cd release ; tar jcf javatoolkit-$(VERSION)$(RELEASE_TAG).tar.bz2 javatoolkit-$(VERSION)$(RELEASE_TAG)/ )
install: install-javatoolkit
@@ -47,3 +47,6 @@ install-javatoolkit:
for x in sun-fetch findclass bsfix buildparser javatoolkit ; do \
( cd src/$$x ; $(MAKE) DESTDIR=$(DESTDIR) install ) \
done
+
+upload:
+ scp release/javatoolkit-$(VERSION)$(RELEASE_TAG).tar.bz2 $(USER)@dev.gentoo.org:/space/distfiles-local/
diff --git a/makedefs.mak b/makedefs.mak
index e24e3b3..a1dd966 100644
--- a/makedefs.mak
+++ b/makedefs.mak
@@ -6,7 +6,7 @@
# Override this on command line when making a release, ie 'dist'
-VERSION=9.9.9
+VERSION=0.2.0
RELEASE_TAG=
PYVERSION="`python-config | sed 's/-l//' | sed 's/ -lm.*//'`"
DESTDIR=