[libxml-validate-perl] 04/09: Bump debhelper compatibility level to 9. Use dh(1).
gregor herrmann
gregoa at debian.org
Tue Aug 8 23:55:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libxml-validate-perl.
commit 4bfd1beec75b2eb099966893d91a5978955699ab
Author: gregor herrmann <gregoa at debian.org>
Date: Tue Aug 8 17:51:25 2017 -0400
Bump debhelper compatibility level to 9. Use dh(1).
---
debian/compat | 2 +-
debian/control | 2 +-
debian/rules | 36 ++++++------------------------------
3 files changed, 8 insertions(+), 32 deletions(-)
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 30e097e..4baa0da 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Jotam Jr. Trejo <jotamjr at debian.org.sv>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
-Build-Depends: debhelper (>= 7),
+Build-Depends: debhelper (>= 9),
Build-Depends-Indep: perl,
libtest-pod-coverage-perl,
libtest-pod-perl,
diff --git a/debian/rules b/debian/rules
index 54a01b1..8328f71 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,36 +1,12 @@
#!/usr/bin/make -f
-USES_QUILT := $(shell if [ -f $(CURDIR)/debian/patches/series ]; then echo yes; else echo no; fi)
-ifeq ($(USES_QUILT),yes)
- include /usr/share/quilt/quilt.make
-
- PATCH_TARGET := $(QUILT_STAMPFN)
- UNPATCH_TARGET := unpatch
-endif
+%:
+ dh $@
-build: build-stamp
-build-stamp: $(PATCH_TARGET)
+override_dh_auto_configure:
mv $(CURDIR)/scripts/validxml.pl $(CURDIR)/scripts/validxml
- dh build
- touch $@
-
-clean: rename $(UNPATCH_TARGET)
- dh $@
+ dh_auto_configure
-rename:
+override_dh_clean:
if [ -f $(CURDIR)/scripts/validxml ]; then mv $(CURDIR)/scripts/validxml $(CURDIR)/scripts/validxml.pl; fi
-
-install: install-stamp
-install-stamp: build-stamp
- dh install
- touch $@
-
-binary-arch: install
- dh $@
-
-binary-indep: install
- dh $@
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build
+ dh_clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libxml-validate-perl.git
More information about the Pkg-perl-cvs-commits
mailing list