r19882 - in /trunk/libsvn-notify-mirror-perl/debian: changelog rules

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun May 11 23:29:09 UTC 2008


Author: gregoa
Date: Sun May 11 23:29:08 2008
New Revision: 19882

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=19882
Log:
Refresh debian/rules, no functional changes (except for the omission of
the not so helpful README).

Modified:
    trunk/libsvn-notify-mirror-perl/debian/changelog
    trunk/libsvn-notify-mirror-perl/debian/rules

Modified: trunk/libsvn-notify-mirror-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-notify-mirror-perl/debian/changelog?rev=19882&op=diff
==============================================================================
--- trunk/libsvn-notify-mirror-perl/debian/changelog (original)
+++ trunk/libsvn-notify-mirror-perl/debian/changelog Sun May 11 23:29:08 2008
@@ -5,6 +5,8 @@
       dependency on libmodule-build-perl (cf. #480727)
     - make build dependecy on quilt versioned
     - change my email address
+  * Refresh debian/rules, no functional changes (except for the omission of
+    the not so helpful README).
 
  -- gregor herrmann <gregoa at debian.org>  Mon, 12 May 2008 01:20:48 +0200
 

Modified: trunk/libsvn-notify-mirror-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-notify-mirror-perl/debian/rules?rev=19882&op=diff
==============================================================================
--- trunk/libsvn-notify-mirror-perl/debian/rules (original)
+++ trunk/libsvn-notify-mirror-perl/debian/rules Sun May 11 23:29:08 2008
@@ -16,52 +16,40 @@
 
 include /usr/share/quilt/quilt.make
 
-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: $(QUILT_STAMPFN)
 	dh_testdir
-
 	# redirect STDIN to avoid any prompting
-	$(PERL) Build.PL installdirs=vendor create_packlist=0 < /dev/null
+	$(PERL) Build.PL installdirs=vendor < /dev/null
 	$(PERL) Build
 	SENDMAIL=/dev/null $(PERL) Build test
-
 	touch $@
 
-clean: unpatch
+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
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-
-	# Add commands to install the package into debian/$PACKAGE_NAME here
-	$(PERL) Build install destdir=$(TMP)
-
-	[ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5
-
+	$(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_compress
@@ -71,8 +59,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