r14636 - in /trunk/libclass-dbi-plugin-pager-perl/debian: changelog rules
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Sat Feb 9 18:16:02 UTC 2008
Author: dmn
Date: Sat Feb 9 18:07:55 2008
New Revision: 14636
URL: http://svn.debian.org/wsvn/?sc=1&rev=14636
Log:
* debian/rules: remade with dh-make-perl template
+ stop installing README as it contains nothing more that the POD
Modified:
trunk/libclass-dbi-plugin-pager-perl/debian/changelog
trunk/libclass-dbi-plugin-pager-perl/debian/rules
Modified: trunk/libclass-dbi-plugin-pager-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libclass-dbi-plugin-pager-perl/debian/changelog?rev=14636&op=diff
==============================================================================
--- trunk/libclass-dbi-plugin-pager-perl/debian/changelog (original)
+++ trunk/libclass-dbi-plugin-pager-perl/debian/changelog Sat Feb 9 18:07:55 2008
@@ -7,6 +7,8 @@
<ben at decadentplace.org.uk>); Ben Hutchings
<ben at decadentplace.org.uk> moved to Uploaders.
* Add debian/watch.
+ * debian/rules: remade with dh-make-perl template
+ + stop installing README as it contains nothing more that the POD
-- Damyan Ivanov <dmn at debian.org> Sat, 26 Jan 2008 10:12:13 +0200
Modified: trunk/libclass-dbi-plugin-pager-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libclass-dbi-plugin-pager-perl/debian/rules?rev=14636&op=diff
==============================================================================
--- trunk/libclass-dbi-plugin-pager-perl/debian/rules (original)
+++ trunk/libclass-dbi-plugin-pager-perl/debian/rules Sat Feb 9 18:07:55 2008
@@ -1,29 +1,76 @@
#!/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
-build : build-stamp
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
-build-stamp : Build.PL
- perl Build.PL destdir=$(CURDIR)/debian/libclass-dbi-plugin-pager-perl installdirs=vendor
- ./Build test
- touch build-stamp
+# 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
-binary : binary-arch binary-indep
+PACKAGE=$(shell dh_listpackages)
-binary-arch :
+ifndef PERL
+PERL = /usr/bin/perl
+endif
-binary-indep : build-stamp
+TMP =$(CURDIR)/debian/$(PACKAGE)
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ # Add commands to compile the package here
+ $(PERL) Build.PL installdirs=vendor
+ $(PERL) Build
+ $(PERL) Build test
+
+ touch $@
+
+clean:
+ dh_testdir
dh_testroot
- ./Build install
+
+ dh_clean build-stamp install-stamp
+
+ # Add commands to clean up after the build process here
+ [ ! -f Build ] || $(PERL) Build distclean
+
+install: install-stamp
+install-stamp: build-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+ # Add commands to install the package into $(TMP) here
+ $(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_installchangelogs Changes
- dh_installdocs README
dh_compress
dh_fixperms
+ dh_installdeb
dh_gencontrol
+ dh_md5sums
dh_builddeb
-clean :
- if [ -f Build ]; then ./Build realclean; fi
- dh_clean build-stamp
+source diff:
+ @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-.PHONY : build binary binary-arch binary-dep clean
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list