[junit4] 04/09: Switch from cdbs to dh sequencer.

Markus Koschany apo-guest at moszumanska.debian.org
Wed Dec 16 23:40:22 UTC 2015


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

apo-guest pushed a commit to branch master
in repository junit4.

commit 34121fc51d0356a80531cf43939e723fbf7e9ce0
Author: Markus Koschany <apo at debian.org>
Date:   Wed Dec 16 23:21:31 2015 +0100

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

diff --git a/debian/control b/debian/control
index 739440d..9c5263e 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Uploaders: Florian Weimer <fw at deneb.enyo.de>,
            Jakub Adam <jakub.adam at ktknet.cz>,
            Emmanuel Bourg <ebourg at apache.org>
 Priority: optional
-Build-Depends: cdbs, debhelper (>= 9), default-jdk, javahelper
+Build-Depends: debhelper (>= 9), default-jdk, javahelper
 Build-Depends-Indep: default-jdk-doc,
                      libhamcrest-java (>= 1.3),
                      libhamcrest-java-doc,
diff --git a/debian/rules b/debian/rules
index 9663572..e559619 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,19 +1,16 @@
 #!/usr/bin/make -f
+export JAVA_HOME=/usr/lib/jvm/default-java
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/maven.mk
+%:
+	dh $@ --parallel --buildsystem=maven
 
-JAVA_HOME	     := /usr/lib/jvm/default-java
 
-binary-post-install/junit4::
+override_jh_manifest:
 	jh_manifest -pjunit4
 
-binary-post-install/junit4-doc::
+override_dh_install:
+	dh_install
 	dh_install -pjunit4-doc javadoc/latest/* /usr/share/doc/junit4/api/
 
-clean::
-	-rm -Rf javadoc
-	mh_clean
-
 get-orig-source:
 	-uscan --upstream-version 0 --rename

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



More information about the pkg-java-commits mailing list