r4511 - /packages/libmail-spf-query-perl/trunk/debian/rules

jmehnle-guest at users.alioth.debian.org jmehnle-guest at users.alioth.debian.org
Sat Dec 2 23:58:29 CET 2006


Author: jmehnle-guest
Date: Sat Dec  2 23:58:29 2006
New Revision: 4511

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=4511
Log:
trunk/debian/rules
* Explicily create /usr/share/man/man8/.
* Fix up the man-page section of spfd.8p to read "8p" instead of "1p".

Modified:
    packages/libmail-spf-query-perl/trunk/debian/rules

Modified: packages/libmail-spf-query-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmail-spf-query-perl/trunk/debian/rules?rev=4511&op=diff
==============================================================================
--- packages/libmail-spf-query-perl/trunk/debian/rules (original)
+++ packages/libmail-spf-query-perl/trunk/debian/rules Sat Dec  2 23:58:29 2006
@@ -39,7 +39,10 @@
 	# Move spfd to /usr/sbin/, and move its man-page, too:
 	mkdir -p $(TMP)/usr/sbin
 	mv $(TMP)/usr/bin/spfd                      $(TMP)/usr/sbin
+	mkdir -p $(TMP)/usr/share/man/man8
 	mv $(TMP)/usr/share/man/man1/spfd.1p        $(TMP)/usr/share/man/man8/spfd.8p
+	# Fix up the man-page section:
+	perl -npi -e 's/^(.TH SPFD) 1p/\1 8p/' $(TMP)/usr/share/man/man8/spfd.8p
 	
 	# Rename the `spfquery` and `spfd` tools and their man-pages for the alternatives system:
 	mv $(TMP)/usr/bin/spfquery                  $(TMP)/usr/bin/spfquery.$(SOURCE_PACKAGE)




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