[robocode] 01/14: Switch from cdbs to dh sequencer.
Markus Koschany
apo-guest at moszumanska.debian.org
Tue Jan 5 07:59:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository robocode.
commit 72f7dc8f2228a4884451afcbebb0b8f6960a9183
Author: Markus Koschany <apo at debian.org>
Date: Mon Jan 4 16:58:36 2016 +0100
Switch from cdbs to dh sequencer.
---
debian/control | 1 -
debian/rules | 23 ++++++++++++-----------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/debian/control b/debian/control
index 4921d42..e322a0b 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,6 @@ Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.or
Uploaders:
Markus Koschany <apo at gambaru.de>
Build-Depends:
- cdbs,
debhelper (>= 9),
default-jdk,
maven-debian-helper (>= 1.5)
diff --git a/debian/rules b/debian/rules
index b6cf1a6..db96425 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,24 +2,25 @@
PKD := $(abspath $(dir $(MAKEFILE_LIST)))
VER := $(shell dpkg-parsechangelog -l$(PKD)/changelog -SVersion | cut -d- -f1)
-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
-DEB_MAVEN_DOC_TARGET := javadoc:aggregate
-DEB_INSTALL_CHANGELOGS_ALL := versions.md
-
-get-orig-source:
- uscan --download-current-version --force-download
-
-makebuilddir/robocode::
+override_dh_auto_build:
sed -e 's/@RCVER@/$(VER)/g' < debian/misc/robocode.in > debian/misc/robocode
sed -e 's/@RCVER@/$(VER)/g' < debian/misc/compiler.properties.in > debian/misc/compiler.properties
sed -e 's/@RCVER@/$(VER)/g' < debian/examples/roborumble.in > debian/examples/roborumble
sed -e 's/@RCVER@/$(VER)/g' < debian/maven.properties.in > debian/maven.properties
+ dh_auto_build
-install/robocode::
+override_dh_installchangelogs:
+ dh_installchangelogs version.md
+
+override_dh_install:
$(RM) -r debian/robocode/usr/share/maven-repo
convert -resize 32x32 \
robocode.content/src/main/resources/desktop/robocode.png robocode.xpm
+ dh_install
+
+get-orig-source:
+ uscan --verbose --download-current-version --force-download
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/robocode.git
More information about the pkg-java-commits
mailing list