r20362 - in /trunk/libmro-compat-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Fri May 23 19:51:23 UTC 2008
Author: gregoa
Date: Fri May 23 19:51:23 2008
New Revision: 20362
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20362
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libmro-compat-perl/debian/changelog
trunk/libmro-compat-perl/debian/rules
Modified: trunk/libmro-compat-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmro-compat-perl/debian/changelog?rev=20362&op=diff
==============================================================================
--- trunk/libmro-compat-perl/debian/changelog (original)
+++ trunk/libmro-compat-perl/debian/changelog Fri May 23 19:51:23 2008
@@ -2,6 +2,7 @@
* New upstream release.
* debian/copyright: update years of copyright.
+ * Refresh debian/rules, no functional changes.
-- gregor herrmann <gregoa at debian.org> Fri, 23 May 2008 21:45:53 +0200
Modified: trunk/libmro-compat-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmro-compat-perl/debian/rules?rev=20362&op=diff
==============================================================================
--- trunk/libmro-compat-perl/debian/rules (original)
+++ trunk/libmro-compat-perl/debian/rules Fri May 23 19:51:23 2008
@@ -4,14 +4,16 @@
# 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
+
+# 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)
-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:
@@ -19,7 +21,7 @@
$(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
- touch build-stamp
+ touch $@
clean:
dh_testdir
@@ -33,11 +35,13 @@
dh_testroot
dh_clean -k
$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
- touch install-stamp
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
+ touch $@
binary-arch:
-# We have nothing to do by default.
+# We have nothing to do here for an architecture-independent package
binary-indep: build install
dh_testdir
@@ -52,8 +56,5 @@
dh_md5sums
dh_builddeb
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-perl-cvs-commits
mailing list