r19218 - in /trunk/libtie-cphash-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Apr 27 19:13:16 UTC 2008


Author: gregoa
Date: Sun Apr 27 19:13:15 2008
New Revision: 19218

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19218
Log:
Refresh debian/rules, no functional changes; don't install README any
more.

Modified:
    trunk/libtie-cphash-perl/debian/changelog
    trunk/libtie-cphash-perl/debian/rules

Modified: trunk/libtie-cphash-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtie-cphash-perl/debian/changelog?rev=19218&op=diff
==============================================================================
--- trunk/libtie-cphash-perl/debian/changelog (original)
+++ trunk/libtie-cphash-perl/debian/changelog Sun Apr 27 19:13:15 2008
@@ -10,8 +10,10 @@
   * debian/control:
     - indent examples in long description
     - add /me to Uploaders
+  * Refresh debian/rules, no functional changes; don't install README any
+    more.
 
- -- gregor herrmann <gregoa at debian.org>  Sun, 27 Apr 2008 21:07:51 +0200
+ -- gregor herrmann <gregoa at debian.org>  Sun, 27 Apr 2008 21:11:48 +0200
 
 libtie-cphash-perl (1.03-2) unstable; urgency=low
 

Modified: trunk/libtie-cphash-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtie-cphash-perl/debian/rules?rev=19218&op=diff
==============================================================================
--- trunk/libtie-cphash-perl/debian/rules (original)
+++ trunk/libtie-cphash-perl/debian/rules Sun Apr 27 19:13:15 2008
@@ -14,13 +14,9 @@
 # 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:
@@ -28,13 +24,13 @@
 	$(PERL) Build.PL installdirs=vendor
 	$(PERL) Build
 	$(PERL) Build test
-	touch build-stamp
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
 	dh_clean build-stamp install-stamp
-	[ ! -f Build ] || $(PERL) Build distclean
+	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
 
 install: install-stamp
 install-stamp: build-stamp
@@ -42,15 +38,15 @@
 	dh_testroot
 	dh_clean -k
 	$(PERL) Build install destdir=$(TMP) create_packlist=0
-	touch install-stamp
+	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
 	dh_testroot
-	dh_installdocs README
+	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl
 	dh_compress
@@ -60,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