r19330 - in /trunk/libuniversal-require-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Thu May 1 15:48:49 UTC 2008
Author: gregoa
Date: Thu May 1 15:48:48 2008
New Revision: 19330
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19330
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libuniversal-require-perl/debian/changelog
trunk/libuniversal-require-perl/debian/rules
Modified: trunk/libuniversal-require-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-require-perl/debian/changelog?rev=19330&op=diff
==============================================================================
--- trunk/libuniversal-require-perl/debian/changelog (original)
+++ trunk/libuniversal-require-perl/debian/changelog Thu May 1 15:48:48 2008
@@ -1,5 +1,6 @@
libuniversal-require-perl (0.11-1) unstable; urgency=low
+ [ AGOSTINI Yves ]
* Take over for the Debian Perl Group on maintainer's request
(sjq at debian.org)
"Thu, 1 May 2008 05:40:25 -0700
@@ -13,7 +14,10 @@
* upgrade to 0.11 upstream (Closes: #432490)
- -- AGOSTINI Yves <agostini at univ-metz.fr> Thu, 01 May 2008 15:45:12 +0200
+ [ gregor herrmann ]
+ * Refresh debian/rules, no functional changes.
+
+ -- gregor herrmann <gregoa at debian.org> Thu, 01 May 2008 17:45:52 +0200
libuniversal-require-perl (0.10-1) unstable; urgency=low
Modified: trunk/libuniversal-require-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libuniversal-require-perl/debian/rules?rev=19330&op=diff
==============================================================================
--- trunk/libuniversal-require-perl/debian/rules (original)
+++ trunk/libuniversal-require-perl/debian/rules Thu May 1 15:48:48 2008
@@ -1,64 +1,54 @@
#!/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
-# Define the perl interpreter
+# 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
+PERL ?= /usr/bin/perl
PACKAGE = $(shell dh_listpackages)
-
-TMP =`pwd`/debian/$(PACKAGE)
-
-PERL = /usr/bin/perl
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
-
- perl Makefile.PL verbose INSTALLDIRS=vendor
-
- touch configure-stamp
+TMP = $(CURDIR)/debian/$(PACKAGE)
build: build-stamp
-build-stamp: configure-stamp
+build-stamp:
dh_testdir
-
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
- touch build-stamp
+ touch $@
clean:
dh_testdir
dh_testroot
+ dh_clean build-stamp install-stamp
+ [ ! -f Makefile ] || $(MAKE) realclean
- [ ! -e Makefile ] || $(MAKE) distclean
-
- dh_clean build-stamp configure-stamp
-
-install: build
+install: install-stamp
+install-stamp: build-stamp
dh_testdir
dh_testroot
dh_clean -k
- dh_installdirs
+ $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
+ [ ! -d $(TMP)/usr/lib/perl5 ] || \
+ rmdir --ignore-fail-on-non-empty --parents --verbose \
+ $(TMP)/usr/lib/perl5
+ touch $@
- $(MAKE) install PREFIX=$(TMP)/usr
-
- # Remove any empty directories
-
- find $(TMP)/usr -type d -empty -print0 | xargs --no-run-if-empty --null rmdir -p --ignore-fail-on-non-empty
-
-binary-arch: build install
-# We have nothing to do by default.
+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_installdocs
- dh_installman
- dh_installchangelogs Changes
dh_compress
dh_fixperms
dh_installdeb
@@ -67,4 +57,4 @@
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