[isorelax] 01/01: Use debhelper 9

Samuel Thibault sthibault at moszumanska.debian.org
Tue Dec 22 23:05:23 UTC 2015


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

sthibault pushed a commit to branch master
in repository isorelax.

commit da29bf339a1060321737f26f8b717458700c5747
Author: Samuel Thibault <samuel.thibault at ens-lyon.org>
Date:   Wed Dec 23 00:05:16 2015 +0100

    Use debhelper 9
---
 debian/changelog |  2 ++
 debian/compat    |  2 +-
 debian/control   |  2 +-
 debian/rules     | 34 ++++++----------------------------
 4 files changed, 10 insertions(+), 30 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 70c0d8c..ffd02a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ isorelax (20041111-9) UNRELEASED; urgency=low
 
   * rules: Pass -notimestamp to javadoc to make build more reproducible.
   * Bump Standards-Version to 3.9.6 (no changes).
+  * compat: Bump to 9.
+  * rules: Clear.
 
  -- Samuel Thibault <sthibault at debian.org>  Mon, 28 Oct 2013 09:27:47 +0100
 
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index 4b20a4e..77228b8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Priority: extra
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Samuel Thibault <sthibault at debian.org>,
  Giovanni Mascellani <gio at debian.org>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 9)
 Build-Depends-Indep: default-jdk, default-jdk-doc, ant, ant-doc, maven-repo-helper
 Standards-Version: 3.9.6
 Section: java
diff --git a/debian/rules b/debian/rules
index c40709e..c20a096 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+%:
+	dh $@
+
 JAVAC=javac
 JAVADOC=javadoc
 JAR=jar
@@ -14,43 +17,18 @@ JAVADOCFLAGS=-classpath $(JAVACLASSES)/ant.jar \
 
 JARFILE=isorelax-20041111.jar
 
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-build-stamp:
-	dh_testdir
-
+override_dh_auto_build:
 	$(JAVAC) $(JAVAFLAGS) `find . -name \*.java`
 	$(JAVADOC) -notimestamp $(JAVADOCFLAGS) -d api `find . -name \*.java`
 
 	$(JAR) c `find . -name \*.class -o -name \*.rxm -o -name \*.rxg -o -name \*.dtd -o -name \*.mod -o -name \*.MF` > $(JARFILE)
 
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-
+override_dh_auto_clean:
 	rm -f `find . -name \*.class`
 	rm -f $(JARFILE)
 	rm -fr api
 
 	mh_clean
-	dh_clean
 
-binary-indep: install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
+override_dh_install:
 	mh_install
-	dh_lintian
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install

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



More information about the pkg-java-commits mailing list