r22504 - in /trunk/libemail-simple-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sun Jun 29 22:16:43 UTC 2008
Author: gregoa
Date: Sun Jun 29 22:16:43 2008
New Revision: 22504
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22504
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libemail-simple-perl/debian/changelog
trunk/libemail-simple-perl/debian/rules
Modified: trunk/libemail-simple-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-simple-perl/debian/changelog?rev=22504&op=diff
==============================================================================
--- trunk/libemail-simple-perl/debian/changelog (original)
+++ trunk/libemail-simple-perl/debian/changelog Sun Jun 29 22:16:43 2008
@@ -8,6 +8,7 @@
[ gregor herrmann ]
* debian/copyright: use dist-based upstream source URL.
* debian/control: change my email address.
+ * Refresh debian/rules, no functional changes.
-- Ansgar Burchardt <ansgar at 43-1.org> Sun, 29 Jun 2008 21:43:27 +0200
Modified: trunk/libemail-simple-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libemail-simple-perl/debian/rules?rev=22504&op=diff
==============================================================================
--- trunk/libemail-simple-perl/debian/rules (original)
+++ trunk/libemail-simple-perl/debian/rules Sun Jun 29 22:16:43 2008
@@ -1,22 +1,24 @@
#!/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.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-ifndef PERL
- PERL = /usr/bin/perl
-endif
+# 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=$(shell dh_listpackages)
-TMP =$(CURDIR)/debian/$(PACKAGE)
-
+PERL ?= /usr/bin/perl
+PACKAGE = $(shell dh_listpackages)
+TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
build-stamp:
dh_testdir
- perl Makefile.PL INSTALLDIRS=vendor
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
touch $@
@@ -24,9 +26,8 @@
clean:
dh_testdir
dh_testroot
- rm -f build-stamp install-stamp
+ dh_clean build-stamp install-stamp
[ ! -f Makefile ] || $(MAKE) realclean
- dh_clean
install: install-stamp
install-stamp: build-stamp
@@ -34,21 +35,23 @@
dh_testroot
dh_clean -k
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- #As this is a architecture independent package, we are not supposed to install
- #stuff to /usr/lib. MakeMaker creates the dirs, we delete them from the deb:
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
touch $@
-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_installchangelogs Changes
+ dh_perl
dh_compress
dh_fixperms
dh_installdeb
- dh_perl
dh_gencontrol
dh_md5sums
dh_builddeb
More information about the Pkg-perl-cvs-commits
mailing list