r18387 - in /trunk/libtest-class-perl/debian: changelog rules

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Mon Apr 7 17:10:23 UTC 2008


Author: gregoa-guest
Date: Mon Apr  7 17:10:22 2008
New Revision: 18387

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18387
Log:
Refresh debian/rules, no functional changes.

Modified:
    trunk/libtest-class-perl/debian/changelog
    trunk/libtest-class-perl/debian/rules

Modified: trunk/libtest-class-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-class-perl/debian/changelog?rev=18387&op=diff
==============================================================================
--- trunk/libtest-class-perl/debian/changelog (original)
+++ trunk/libtest-class-perl/debian/changelog Mon Apr  7 17:10:22 2008
@@ -6,8 +6,9 @@
     libtest-simple-perl to build dependencies again (the new release needs
     the newer versions from the package, the ones in perl-modules are too
     old).
+  * Refresh debian/rules, no functional changes.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon, 07 Apr 2008 19:04:18 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at>  Mon, 07 Apr 2008 19:09:13 +0200
 
 libtest-class-perl (0.28-1) unstable; urgency=low
 

Modified: trunk/libtest-class-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-class-perl/debian/rules?rev=18387&op=diff
==============================================================================
--- trunk/libtest-class-perl/debian/rules (original)
+++ trunk/libtest-class-perl/debian/rules Mon Apr  7 17:10:22 2008
@@ -1,6 +1,11 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
+# 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
@@ -9,18 +14,13 @@
 # always return the default without waiting for user input.
 export PERL_MM_USE_DEFAULT=1
 
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP     =$(CURDIR)/debian/$(PACKAGE)
+PERL   ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
 
 build: build-stamp
 build-stamp:
 	dh_testdir
-	# Add here commands to compile the package.
 	$(PERL) Build.PL installdirs=vendor
 	$(PERL) Build
 	$(PERL) Build test
@@ -29,35 +29,32 @@
 clean:
 	dh_testdir
 	dh_testroot
-
 	dh_clean build-stamp install-stamp
-
-	# Add commands to clean up after the build process here
-	[ ! -f Build ] || $(PERL) Build distclean
+	[ ! -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:;
+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_perl
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
 binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+.PHONY: build clean binary-indep binary-arch binary install




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