[plexus-i18n] 02/31: o Adding dependency on maven-ant-helper.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Aug 30 08:16:48 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository plexus-i18n.
commit 6f289e828649c4284780ba23dc8d33cee23f6745
Author: Trygve Laugstøl <trygvis at inamo.no>
Date: Sun Jun 3 15:27:27 2007 +0000
o Adding dependency on maven-ant-helper.
---
debian/control | 2 +-
debian/rules | 12 +++++-------
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/debian/control b/debian/control
index 3f84e51..aaeca47 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Trygve Laugstol <trygvis at inamo.no>
Build-Depends-Indep: java-gcj-compat-dev (>=1.0.65), ant-optional, libxalan2-java,
- libplexus-container-default-java, junit, junit-doc
+ libplexus-container-default-java, junit, junit-doc, maven-ant-helper
Build-Depends: ant, debhelper (>= 5), cdbs (>= 0.4.5.3)
Standards-Version: 3.7.2
diff --git a/debian/rules b/debian/rules
index 2fcc723..43e7ecc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,23 +7,21 @@ include /usr/share/cdbs/1/rules/simple-patchsys.mk
PACKAGE := $(shell dpkg-parsechangelog | egrep '^Source:' | cut -f2 -d' ')
VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | sed "s,Version: \(.*\)-.*,\1,g")
JAVA_HOME := /usr/lib/jvm/java-gcj
-JAVA_HOME := /usr/local/java
ANT_HOME := /usr/share/ant
-DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar $(ANT_HOME)/lib/ant-trax.jar $(ANT_HOME)/lib/ant-junit.jar /usr/share/java/junit.jar
+DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar $(ANT_HOME)/lib/ant-trax.jar $(ANT_HOME)/lib/ant-junit.jar /usr/share/lib/junit.jar
DEB_ANT_BUILD_TARGET := package javadoc
DEB_ANT_BUILDFILE := ./debian/build.xml
DEB_ANT_ARGS := -DartifactId=$(PACKAGE) -Dversion=$(VERSION)
#DEB_ANT_INVOKE := ant -verbose -Dpackage=$(PACKAGE) -Dversion=$(VERSION) -f $(BUILD_FILE)
API_DOCS := build/javadoc
SVN := http://svn.codehaus.org/plexus/plexus-components/tags/$(PACKAGE)-$(VERSION)
-REVISION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ' | cut -f1 -d- | sed 's/.*svn//' | sed 's/[^0-9].*//')
get-orig-source:
- echo "Getting revision $(REVISION) from $(SVN)"
+ echo "Getting from $(SVN)"
+ rm -rf orig_tmp
mkdir orig_tmp
- cd orig_tmp && \
- svn export -q $(SVN) $(PACKAGE) && \
- tar czf ../../$(PACKAGE)_$(VERSION).orig.tar.gz $(PACKAGE)
+ svn export -q $(SVN) orig_tmp/$(PACKAGE)
+ cd orig_tmp && tar czf ../../$(PACKAGE)_$(VERSION).orig.tar.gz $(PACKAGE)
rm -rf orig_tmp
binary-post-install/lib$(PACKAGE)-java::
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/plexus-i18n.git
More information about the pkg-java-commits
mailing list