[libdata-javascript-perl] 06/08: Switch to a minimal "dh $@"-style debian/rules and dh compat level 10

Axel Beckert abe at deuxchevaux.org
Sun Nov 19 23:24:11 UTC 2017


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

abe pushed a commit to branch master
in repository libdata-javascript-perl.

commit f75ff4558f1973dbae6d644515d1a30a70d23aee
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Mon Nov 20 00:21:01 2017 +0100

    Switch to a minimal "dh $@"-style debian/rules and dh compat level 10
    
    Update versioned debhelper build-dependency accordingly.
---
 debian/changelog |  2 ++
 debian/compat    |  2 +-
 debian/control   |  2 +-
 debian/rules     | 22 +++-------------------
 4 files changed, 7 insertions(+), 21 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4fc0b22..db15221 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,8 @@ libdata-javascript-perl (1.13-2) UNRELEASED; urgency=low
   * Finish conversion of debian/copyright to machine-readable DEP5 format.
   * Convert to Debian source format "3.0 (quilt)".
   * Remove superfluous whitespace from ancient debian/changelog entry.
+  * Switch to a minimal "dh $@"-style debian/rules and dh compat level 10.
+    + Update versioned debhelper build-dependency accordingly.
 
  -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:41:14 +0100
 
diff --git a/debian/compat b/debian/compat
index 7f8f011..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+10
diff --git a/debian/control b/debian/control
index c2f452f..481121a 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Ansgar Burchardt <ansgar at debian.org>
 Section: perl
 Testsuite: autopkgtest-pkg-perl
 Priority: optional
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 10)
 Build-Depends-Indep: perl
 Standards-Version: 3.8.0
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libdata-javascript-perl.git
diff --git a/debian/rules b/debian/rules
index fc01af8..39ce52e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,24 +1,8 @@
 #!/usr/bin/make -f
 
-build: build-stamp
-build-stamp:
-	dh build
-	touch $@
-
-clean:
+%:
 	dh $@
 
-install: install-stamp
-install-stamp: build-stamp
-	dh install
+override_dh_install:
+	dh_install
 	$(RM) $(CURDIR)/debian/libdata-javascript-perl/usr/share/perl5/Data/example.pl
-	touch $@
-
-binary-arch:
-
-binary-indep: install
-	dh $@
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdata-javascript-perl.git



More information about the Pkg-perl-cvs-commits mailing list