[lucene2] 19/104: Fixed debian/rules, PACKAGES is some kind of reserved word

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Wed Mar 23 16:27:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

seamlik-guest pushed a commit to branch master
in repository lucene2.

commit 4587a021459e6f1dc0bb7e4e8516c52e4832d5a2
Author: Jan-Pascal van Best <janpascal at vanbest.org>
Date:   Wed Aug 1 20:30:59 2007 +0000

    Fixed debian/rules, PACKAGES is some kind of reserved word
---
 debian/rules | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index ebb3e79..6cb44c0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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 @@ build-indep-stamp: configure-stamp
 	$(ANT) build-contrib
 	$(ANT) war-demo
 	# Skipping until production time...
-	# $(ANT) test
+	$(ANT) test
 	$(ANT) javadocs
 
 	touch build-indep-stamp
@@ -194,7 +193,7 @@ remove-source:
 	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 @@ download-upstream:
 	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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lucene2.git



More information about the pkg-java-commits mailing list