[antelope] 05/09: Migrate from CDBS to DH sequencer.

Markus Koschany apo at moszumanska.debian.org
Tue Oct 24 16:56:49 UTC 2017


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

apo pushed a commit to branch master
in repository antelope.

commit 857d88130c69f49a198efd1eb91a436a943587a5
Author: Markus Koschany <apo at debian.org>
Date:   Tue Oct 24 18:37:42 2017 +0200

    Migrate from CDBS to DH sequencer.
---
 debian/control               |  1 -
 debian/libantelope-java.poms |  2 +-
 debian/rules                 | 20 +++++---------------
 3 files changed, 6 insertions(+), 17 deletions(-)

diff --git a/debian/control b/debian/control
index 9ad556f..b6561aa 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,6 @@ Uploaders:
  Damien Raude-Morvan <drazzib at debian.org>
 Build-Depends:
  ant,
- cdbs,
  debhelper (>= 10),
  default-jdk,
  docbook-xsl,
diff --git a/debian/libantelope-java.poms b/debian/libantelope-java.poms
index 1f62f21..2108f6b 100644
--- a/debian/libantelope-java.poms
+++ b/debian/libantelope-java.poms
@@ -1 +1 @@
-debian/antelopetasks-pom.xml
+debian/antelopetasks-pom.xml --artifact=prep/AntelopeTasks*.jar
diff --git a/debian/rules b/debian/rules
index 701b76f..f24998d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,22 +1,12 @@
 #!/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/ant.mk
+%:
+	dh $@ --buildsystem=ant
 
-PACKAGE              := antelope
-VERSION              := 3.2.5
 
-JAVA_HOME            := /usr/lib/jvm/default-java
-DEB_ANT_BUILDFILE    := build.xml
-DEB_ANT_BUILD_TARGET := tasks transform-docs
-
-clean::
-	mh_clean
-	-rm -rf prep classes
-
-binary-post-install/lib$(PACKAGE)-java::
-	mh_installpoms -plib$(PACKAGE)-java -e$(DEB_UPSTREAM_VERSION)
-	mh_installjar -plib$(PACKAGE)-java -e$(DEB_UPSTREAM_VERSION) -l debian/antelopetasks-pom.xml prep/AntelopeTasks_$(VERSION).jar
+override_dh_auto_build:
+	dh_auto_build -- tasks transform-docs
 
 get-orig-source::
 	uscan --force-download --repack --rename

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



More information about the pkg-java-commits mailing list