[pkg-java] r3955 - trunk/lucene2/debian

janpascal-guest at alioth.debian.org janpascal-guest at alioth.debian.org
Wed Aug 1 20:30:59 UTC 2007


Author: janpascal-guest
Date: 2007-08-01 20:30:59 +0000 (Wed, 01 Aug 2007)
New Revision: 3955

Modified:
   trunk/lucene2/debian/rules
Log:
Fixed debian/rules, PACKAGES is some kind of reserved word

Modified: trunk/lucene2/debian/rules
===================================================================
--- trunk/lucene2/debian/rules	2007-08-01 20:30:54 UTC (rev 3954)
+++ trunk/lucene2/debian/rules	2007-08-01 20:30:59 UTC (rev 3955)
@@ -15,7 +15,6 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
-PACKAGE = lucene2
 DEBIAN_VERSION := $(shell dpkg-parsechangelog | grep "^Version:" | cut -c 10-)
 DEBIAN_ARCH := $(shell dpkg-architecture  | grep ^DEB_BUILD_ARCH= | cut -c 16-)
 
@@ -75,7 +74,7 @@
 	$(ANT) build-contrib
 	$(ANT) war-demo
 	# Skipping until production time...
-	# $(ANT) test
+	$(ANT) test
 	$(ANT) javadocs
 
 	touch build-indep-stamp
@@ -194,7 +193,7 @@
 	rm -rf build dist docs example lib src contrib
 
 restore-from-source: remove-source
-	tar xzf ../$(PACKAGE)_$(LUCENE_VERSION).orig.tar.gz
+	tar xzf ../lucene2_$(LUCENE_VERSION).orig.tar.gz
 	mv $(UPSTREAM_BASENAME)/* .
 	rmdir $(UPSTREAM_BASENAME)
 
@@ -202,8 +201,8 @@
 	debian/download-upstream
 
 upload:
-	cd .. ; dupload -t vanbest $(PACKAGE)_$(DEBIAN_VERSION)_$(DEBIAN_ARCH).changes
-	#cd .. ; dupload -t mentors $(PACKAGE)_$(DEBIAN_VERSION)_$(DEBIAN_ARCH).changes
+	cd .. ; dupload -t vanbest lucene2_$(DEBIAN_VERSION)_$(DEBIAN_ARCH).changes
+	#cd .. ; dupload -t mentors lucene2_$(DEBIAN_VERSION)_$(DEBIAN_ARCH).changes
 
 
 .PHONY: patched build clean binary-indep binary-arch binary install install-indep install-arch configure




More information about the pkg-java-commits mailing list