[SCM] Debian packaging of libdatetime-locale-perl branch, master, updated. 257cd01f855fd2d903f1f68612590190c07b62bd

gregor herrmann gregoa at debian.org
Sun May 26 14:58:25 UTC 2013


The following commit has been merged in the master branch:
commit e0ecaead6963a0b09f316ee54ee283bc27a697f3
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun May 26 16:47:20 2013 +0200

    debian/rules: fix the manpage whatis update.

diff --git a/debian/rules b/debian/rules
index 854213c..3b78051 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,16 @@
 #!/usr/bin/make -f
 
+PACKAGE = $(shell dh_listpackages)
+TMP     = $(CURDIR)/debian/$(PACKAGE)
+
 %:
 	dh $@
 
-override_dh_auto_build:
-	dh_auto_build
+override_dh_auto_install:
+	dh_auto_install
 	perl -i -ple 'next unless(/^\.SH "NAME"/.../^\.SH/); \
 		s/DateTime::Locale::(\S+)/$$& \\- DateTime locale package for "$$1"/' \
-		blib/man3/DateTime::Locale::*
+		$(TMP)/usr/share/man/man3/DateTime::Locale::*
 
 override_dh_auto_test:
 	IS_MAINTAINER=1 dh_auto_test

-- 
Debian packaging of libdatetime-locale-perl



More information about the Pkg-perl-cvs-commits mailing list