r21035 - in /trunk/libdbd-mock-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Jun 14 18:56:25 UTC 2008


Author: gregoa
Date: Sat Jun 14 18:56:25 2008
New Revision: 21035

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

Modified:
    trunk/libdbd-mock-perl/debian/changelog
    trunk/libdbd-mock-perl/debian/rules

Modified: trunk/libdbd-mock-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-mock-perl/debian/changelog?rev=21035&op=diff
==============================================================================
--- trunk/libdbd-mock-perl/debian/changelog (original)
+++ trunk/libdbd-mock-perl/debian/changelog Sat Jun 14 18:56:25 2008
@@ -3,6 +3,8 @@
   * New upstream release.
   * Set Standards-Version to 3.8.0 (no changes).
   * Add /me to Uploaders.
+  * Refresh debian/rules, no functional changes. Don't install almost empty
+    README any more.
 
  -- gregor herrmann <gregoa at debian.org>  Sat, 14 Jun 2008 20:50:51 +0200
 

Modified: trunk/libdbd-mock-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdbd-mock-perl/debian/rules?rev=21035&op=diff
==============================================================================
--- trunk/libdbd-mock-perl/debian/rules (original)
+++ trunk/libdbd-mock-perl/debian/rules Sat Jun 14 18:56:25 2008
@@ -14,43 +14,30 @@
 # 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
 	$(PERL) Build
 	$(PERL) Build test
-
 	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-
 	dh_clean build-stamp install-stamp
-
-	# Add commands to clean up after the build process here
-	[ ! -f Build ] || $(PERL) Build distclean
+	[ ! -f Build ] || $(PERL) Build --allow_mb_mismatch 1 distclean
 
 install: install-stamp
 install-stamp: build-stamp
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-
-	# Add commands to install the package into $(TMP) here
 	$(PERL) Build install destdir=$(TMP) create_packlist=0
-
 	touch $@
 
 binary-arch:
@@ -59,8 +46,7 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
-	dh_installdocs README
-	dh_installexamples
+	dh_installdocs
 	dh_installchangelogs Changes
 	dh_perl
 	dh_compress
@@ -70,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