[Pkg-voip-commits] r7261 - in /kamailio/trunk/debian/patches: 00list 14_modules_man_pages.dpatch
henningw-guest at alioth.debian.org
henningw-guest at alioth.debian.org
Mon May 25 12:44:46 UTC 2009
Author: henningw-guest
Date: Mon May 25 12:44:46 2009
New Revision: 7261
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7261
Log:
- fix a bunch of lintian warnings related to man page creation
Added:
kamailio/trunk/debian/patches/14_modules_man_pages.dpatch
Modified:
kamailio/trunk/debian/patches/00list
Modified: kamailio/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-voip/kamailio/trunk/debian/patches/00list?rev=7261&op=diff
==============================================================================
--- kamailio/trunk/debian/patches/00list (original)
+++ kamailio/trunk/debian/patches/00list Mon May 25 12:44:46 2009
@@ -2,3 +2,4 @@
11_always_smp
12_acc_enable_radius
13_Makefile_radius
+14_modules_man_pages
Added: kamailio/trunk/debian/patches/14_modules_man_pages.dpatch
URL: http://svn.debian.org/wsvn/pkg-voip/kamailio/trunk/debian/patches/14_modules_man_pages.dpatch?rev=7261&op=file
==============================================================================
--- kamailio/trunk/debian/patches/14_modules_man_pages.dpatch (added)
+++ kamailio/trunk/debian/patches/14_modules_man_pages.dpatch Mon May 25 12:44:46 2009
@@ -1,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 14_modules_man_pages.dpatch by <henning.westerholt at 1und1.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix invalid Section information
+
+ at DPATCH@
+diff -urNad kamailio-1.5.1~/doc/module-man.xsl kamailio-1.5.1/doc/module-man.xsl
+--- kamailio-1.5.1~/doc/module-man.xsl 2008-05-08 17:30:18.000000000 +0200
++++ kamailio-1.5.1/doc/module-man.xsl 2008-07-21 22:30:00.749339246 +0200
+@@ -60,7 +60,9 @@
+
+ <!--Generating the title of the Manpage -->
+ <xsl:template match="/book/bookinfo/title">
+-.TH <xsl:value-of select="."/>
++.TH <xsl:value-of select="translate(., ' ', '-')"/> 8
++.SH NAME
++<xsl:value-of select="translate(., ' ', '-')"/> \- <xsl:value-of select="."/> for Kamailio
+ </xsl:template>
+
+ <!--Here we generate the sections of the manpage-->
More information about the Pkg-voip-commits
mailing list