[libsvn-notify-mirror-perl] 03/05: Simplify debian/rules to a tiny 3-line makefile

Salvatore Bonaccorso carnil at debian.org
Sat Oct 12 09:08:51 UTC 2013


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

carnil pushed a commit to branch master
in repository libsvn-notify-mirror-perl.

commit 07b2ab91824c3fd3edf7be1240e509c453510d9c
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Sat Oct 12 11:07:42 2013 +0200

    Simplify debian/rules to a tiny 3-line makefile
---
 debian/rules |   61 ++--------------------------------------------------------
 1 file changed, 2 insertions(+), 59 deletions(-)

diff --git a/debian/rules b/debian/rules
index 448bf48..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,61 +1,4 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-#
-# It was later modified by Jason Kohles <email at jasonkohles.com>
-# http://www.jasonkohles.com/ to support Module::Build installed modules
 
-# 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
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	# redirect STDIN to avoid any prompting
-	$(PERL) Build.PL installdirs=vendor < /dev/null
-	$(PERL) Build
-	SENDMAIL=/dev/null $(PERL) Build test
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(PERL) Build install destdir=$(TMP) create_packlist=0
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	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/libsvn-notify-mirror-perl.git



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