r18180 - in /trunk/libexception-class-perl/debian: changelog rules
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Mon Mar 31 15:18:34 UTC 2008
Author: gregoa-guest
Date: Mon Mar 31 15:18:33 2008
New Revision: 18180
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18180
Log:
debian/rules: refresh with dh-make-perl's help.
Modified:
trunk/libexception-class-perl/debian/changelog
trunk/libexception-class-perl/debian/rules
Modified: trunk/libexception-class-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libexception-class-perl/debian/changelog?rev=18180&op=diff
==============================================================================
--- trunk/libexception-class-perl/debian/changelog (original)
+++ trunk/libexception-class-perl/debian/changelog Mon Mar 31 15:18:33 2008
@@ -14,8 +14,9 @@
* debian/control:
- bump (build) dependency on libdevel-stacktrace-perl to >= 1.17
- wrap long lines
+ * debian/rules: refresh with dh-make-perl's help.
- -- gregor herrmann <gregor+debian at comodo.priv.at> Mon, 31 Mar 2008 17:13:40 +0200
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Mon, 31 Mar 2008 17:16:46 +0200
libexception-class-perl (1.23-1) unstable; urgency=low
Modified: trunk/libexception-class-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libexception-class-perl/debian/rules?rev=18180&op=diff
==============================================================================
--- trunk/libexception-class-perl/debian/rules (original)
+++ trunk/libexception-class-perl/debian/rules Mon Mar 31 15:18:33 2008
@@ -1,55 +1,60 @@
#!/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
-# This is the debhelper compatibility version to use.
-#export DH_COMPAT=4
+# 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
-PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
+build: build-stamp
+build-stamp:
+ dh_testdir
+ $(PERL) Build.PL installdirs=vendor
+ $(PERL) Build
+ $(PERL) Build test
+ touch $@
-build:
- dh_testdir
- # Add here commands to compile the package.
- perl Build.PL installdirs=vendor
clean:
dh_testdir
dh_testroot
+ dh_clean build-stamp install-stamp
+ [ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
- -./Build clean
- rm -rf ./Build _build
- dh_clean
-
-install:
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- dh_installdirs
-
- ./Build test
- ./Build install destdir=$(CURDIR)/debian/$(PACKAGE)
- [ ! -d $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(CURDIR)/debian/$(shell dh_listpackages)/usr/lib/perl5
+ $(PERL) Build install destdir=$(TMP) create_packlist=0
+ touch $@
-binary-indep:;
-binary-arch: build install
+binary-arch:
+# We have nothing to do here for an architecture-independent package
+
+binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
- dh_installman
dh_installchangelogs Changes
- dh_installexamples
- dh_link
- dh_strip
+ 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