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

fsfs pushed a commit to branch master
in repository libclass-multimethods-perl.

commit 69fd1bbf6a4c13fad49cea00ef9affdec1d63d60
Author: Florian Schlichting <f...@debian.org>
Date:   Thu Nov 24 22:01:16 2016 +0100

    Use short-form debian/rules
---
 debian/libclass-multimethods-perl.docs     |  1 +
 debian/libclass-multimethods-perl.examples |  1 +
 debian/rules                               | 63 +++---------------------------
 3 files changed, 7 insertions(+), 58 deletions(-)

diff --git a/debian/libclass-multimethods-perl.docs 
b/debian/libclass-multimethods-perl.docs
new file mode 100644
index 0000000..a07f8d5
--- /dev/null
+++ b/debian/libclass-multimethods-perl.docs
@@ -0,0 +1 @@
+tutorial.html
diff --git a/debian/libclass-multimethods-perl.examples 
b/debian/libclass-multimethods-perl.examples
new file mode 100644
index 0000000..c173414
--- /dev/null
+++ b/debian/libclass-multimethods-perl.examples
@@ -0,0 +1 @@
+demo/*
diff --git a/debian/rules b/debian/rules
index d0209a8..1899c43 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,65 +1,12 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <m...@dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-include /usr/share/quilt/quilt.make
-
-PERL   ?= /usr/bin/perl
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
-build: build-stamp
-build-stamp: $(QUILT_STAMPFN)
-       dh_testdir
-       $(PERL) Makefile.PL INSTALLDIRS=vendor
-       $(MAKE)
-       $(MAKE) test
-       touch $@
-
-clean: unpatch
-       dh_testdir
-       dh_testroot
-       dh_clean build-stamp install-stamp
-       [ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
-       dh_testdir
-       dh_testroot
-       dh_clean -k
-       $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-       [ ! -f $(TMP)/usr/share/perl5/Class/Multimethods.pod ] || \
-               chmod 644 $(TMP)/usr/share/perl5/Class/Multimethods.pod
-       [ ! -d $(TMP)/usr/lib/perl5 ] || \
-               rmdir --ignore-fail-on-non-empty --parents --verbose \
-               $(TMP)/usr/lib/perl5
-       touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
+%:
+       dh $@
 
-binary-indep: build install
-       dh_testdir
-       dh_testroot
-       dh_installexamples demo/*
-       dh_installdocs tutorial.html
-       dh_installchangelogs Changes
-       dh_perl
-       dh_compress
-       dh_fixperms
-       dh_installdeb
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
+override_dh_auto_install:
+       dh_auto_install
+       chmod 644 $(TMP)/usr/share/perl5/Class/Multimethods.pod
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install

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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to