r23585 - in /trunk/libdigest-md5-file-perl/debian: changelog rules
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Sat Jul 26 15:26:21 UTC 2008
Author: gregoa
Date: Sat Jul 26 15:26:19 2008
New Revision: 23585
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=23585
Log:
Refresh debian/rules, no functional changes.
Modified:
trunk/libdigest-md5-file-perl/debian/changelog
trunk/libdigest-md5-file-perl/debian/rules
Modified: trunk/libdigest-md5-file-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdigest-md5-file-perl/debian/changelog?rev=23585&op=diff
==============================================================================
--- trunk/libdigest-md5-file-perl/debian/changelog (original)
+++ trunk/libdigest-md5-file-perl/debian/changelog Sat Jul 26 15:26:19 2008
@@ -5,6 +5,7 @@
* Set Standards-Version to 3.8.0 (no changes).
* Add /me to Uploaders.
* debian/control: indent example to avoid wrapping.
+ * Refresh debian/rules, no functional changes.
-- gregor herrmann <gregoa at debian.org> Sat, 26 Jul 2008 17:21:30 +0200
Modified: trunk/libdigest-md5-file-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdigest-md5-file-perl/debian/rules?rev=23585&op=diff
==============================================================================
--- trunk/libdigest-md5-file-perl/debian/rules (original)
+++ trunk/libdigest-md5-file-perl/debian/rules Sat Jul 26 15:26:19 2008
@@ -11,22 +11,14 @@
# 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:
dh_testdir
-
- # Add commands to compile the package here
- $(PERL) Makefile.PL INSTALLDIRS=vendor \
- INSTALLVENDORARCH=/usr/share/perl5/ \
- VENDORARCHEXP=/usr/share/perl5/
+ $(PERL) Makefile.PL INSTALLDIRS=vendor
$(MAKE)
$(MAKE) test
touch $@
@@ -43,6 +35,9 @@
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 $@
binary-arch:
@@ -61,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