r19775 - in /trunk/libparams-callbackrequest-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Fri May 9 13:32:37 UTC 2008


Author: gregoa
Date: Fri May  9 13:32:36 2008
New Revision: 19775

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19775
Log:
Refresh debian/rules, no functional changes, except for the omission of
README, which provides no additional information for users of the
package.

Modified:
    trunk/libparams-callbackrequest-perl/debian/changelog
    trunk/libparams-callbackrequest-perl/debian/rules

Modified: trunk/libparams-callbackrequest-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparams-callbackrequest-perl/debian/changelog?rev=19775&op=diff
==============================================================================
--- trunk/libparams-callbackrequest-perl/debian/changelog (original)
+++ trunk/libparams-callbackrequest-perl/debian/changelog Fri May  9 13:32:36 2008
@@ -16,8 +16,11 @@
     - move libmodule-build-perl from Build-Depends-Indep to Build-Depends
       (used in debian/rules' clean target)
   * Set Standards-Version to 3.7.3 (no changes).
+  * Refresh debian/rules, no functional changes, except for the omission of
+    README, which provides no additional information for users of the
+    package.
 
- -- gregor herrmann <gregoa at debian.org>  Fri, 09 May 2008 15:27:02 +0200
+ -- gregor herrmann <gregoa at debian.org>  Fri, 09 May 2008 15:30:30 +0200
 
 libparams-callbackrequest-perl (1.17-1) unstable; urgency=low
 

Modified: trunk/libparams-callbackrequest-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libparams-callbackrequest-perl/debian/rules?rev=19775&op=diff
==============================================================================
--- trunk/libparams-callbackrequest-perl/debian/rules (original)
+++ trunk/libparams-callbackrequest-perl/debian/rules Fri May  9 13:32:36 2008
@@ -14,52 +14,41 @@
 # 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) Build.PL installdirs=vendor
-	OPTIMIZE="-Wall -O2 -g" $(PERL) Build
-	touch build-stamp
+	$(PERL) Build
+	$(PERL) Build test
+	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-	# Add commands to clean up after the build process here
-	[ ! -f Build ] || $(PERL) Build distclean
 	dh_clean build-stamp install-stamp
+	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
 
-install: build install-stamp
-install-stamp:
+install: install-stamp
+install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-
-	# Add commands to install the package into debian/$PACKAGE_NAME here
-	$(PERL) Build test
-	$(PERL) Build install destdir=$(TMP)
-
-	touch install-stamp
+	$(PERL) Build install destdir=$(TMP) create_packlist=0
+	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_link
-	dh_strip
 	dh_compress
 	dh_fixperms
 	dh_installdeb
@@ -67,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