[libxml-dom-perl] 04/15: Switch to short-form debian/rules

Florian Schlichting fsfs at moszumanska.debian.org
Sat Aug 15 14:47:41 UTC 2015


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

fsfs pushed a commit to branch master
in repository libxml-dom-perl.

commit 9c25bbc6705b083e18c562b32186bf60ffecc4ad
Author: Florian Schlichting <fsfs at debian.org>
Date:   Sat Aug 15 14:12:41 2015 +0200

    Switch to short-form debian/rules
---
 debian/libxml-dom-perl.examples |  1 +
 debian/rules                    | 58 ++---------------------------------------
 2 files changed, 3 insertions(+), 56 deletions(-)

diff --git a/debian/libxml-dom-perl.examples b/debian/libxml-dom-perl.examples
new file mode 100644
index 0000000..781fb73
--- /dev/null
+++ b/debian/libxml-dom-perl.examples
@@ -0,0 +1 @@
+samples/*
diff --git a/debian/rules b/debian/rules
index c584a0c..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,58 +1,4 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-include /usr/share/quilt/quilt.make
-
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-	dh_testdir
-	$(PERL) Makefile.PL verbose INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-	touch $@
-
-clean: unpatch
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp Makefile.old
-	[ ! -f Makefile ] || $(MAKE) distclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-
-	$(MAKE) DESTDIR=$(CURDIR)/debian/$(PACKAGE) PREFIX=/usr install
-	[ ! -d $(CURDIR)/debian/$(PACKAGE)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(PACKAGE)/usr/lib/perl5
-
-	touch $@
-
-binary-arch: build install
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installexamples samples/*
-	dh_installchangelogs Changes
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_perl
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+	dh $@

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



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