r22971 - in /trunk/libjson-any-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Wed Jul 9 16:49:09 UTC 2008
Author: gregoa
Date: Wed Jul 9 16:49:08 2008
New Revision: 22971
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=22971
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libjson-any-perl/debian/changelog
trunk/libjson-any-perl/debian/rules
Modified: trunk/libjson-any-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-any-perl/debian/changelog?rev=22971&op=diff
==============================================================================
--- trunk/libjson-any-perl/debian/changelog (original)
+++ trunk/libjson-any-perl/debian/changelog Wed Jul 9 16:49:08 2008
@@ -4,6 +4,7 @@
* debian/copyright: add information about files under inc/.
* debian/control: change my email address.
* Set Standards-Version to 3.8.0 (no changes).
+ * Refresh debian/rules, no functional changes.
-- gregor herrmann <gregoa at debian.org> Wed, 09 Jul 2008 18:43:55 +0200
Modified: trunk/libjson-any-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-any-perl/debian/rules?rev=22971&op=diff
==============================================================================
--- trunk/libjson-any-perl/debian/rules (original)
+++ trunk/libjson-any-perl/debian/rules Wed Jul 9 16:49:08 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 $(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