[uddi4j] 06/13: Switch from cdbs to dh sequencer.

Markus Koschany apo at moszumanska.debian.org
Fri Dec 22 13:47:08 UTC 2017


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

apo pushed a commit to branch master
in repository uddi4j.

commit 7a90322b02ce34ede48ed9353865c15dee1cc535
Author: Markus Koschany <apo at debian.org>
Date:   Thu Dec 21 21:53:48 2017 +0100

    Switch from cdbs to dh sequencer.
---
 debian/control |  4 +---
 debian/rules   | 20 ++++++++------------
 2 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/debian/control b/debian/control
index 068222d..765b5c1 100644
--- a/debian/control
+++ b/debian/control
@@ -5,10 +5,8 @@ Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.or
 Uploaders:
  Jakub Adam <jakub.adam at ktknet.cz>
 Build-Depends:
- cdbs,
- debhelper (>= 10)
-Build-Depends-Indep:
  ant,
+ debhelper (>= 10),
  default-jdk,
  javahelper,
  libaxis-java
diff --git a/debian/rules b/debian/rules
index 29318b2..b5e1a5f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,19 +1,15 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/javahelper.mk
-include /usr/share/cdbs/1/class/ant.mk
+export JAVA_HOME := /usr/lib/jvm/default-java
+export CLASSPATH := /usr/share/java/axis.jar:/usr/share/java/jaxrpc.jar
 
-JAVA_HOME := /usr/lib/jvm/default-java
-DEB_JARS := axis jaxrpc
+%:
+	dh $@ --with javahelper
 
-DEB_ANT_BUILD_TARGET := dist
+override_dh_auto_build:
+	dh_auto_build -- dist
 
-# Additional command-line arguments for Ant
-#ANT_ARGS := -verbose
-
-common-post-build-indep::
-	# Rename javadoc directory to ensure that the links
-	# of the documentation works
+override_dh_install:
 	mv build/javadocs build/apiDocs
+	dh_install
 

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



More information about the pkg-java-commits mailing list