Package: docbook-xsl / 1.79.1+dfsg-2

681116_multiarch_manpage_template.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Author: Daniel Leidert <dleidert@debian.org>
Bug-Debian: http://bugs.debian.org/681116
Description: Omit any date to the output file to handle
 source files not setting a date/pubdate as quick solution
 to #681116 to get a consistent manpage output in multiarch
 enabled packages independent from the build-time.
Forwarded: no

--- /dev/null
+++ b/docbook-xsl-ns/manpages/docbook-multiarch.xsl
@@ -0,0 +1,18 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     Customization layer for building Debian Multi-Arch packages omitting
+     the build-tile date!
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="docbook.xsl"/>
+
+<xsl:template name="get.refentry.date">
+  <xsl:value-of select="''"/>
+</xsl:template>
+
+</xsl:stylesheet>
--- /dev/null
+++ b/docbook-xsl/manpages/docbook-multiarch.xsl
@@ -0,0 +1,18 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     Customization layer for building Debian Multi-Arch packages omitting
+     the build-tile date!
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="docbook.xsl"/>
+
+<xsl:template name="get.refentry.date">
+  <xsl:value-of select="''"/>
+</xsl:template>
+
+</xsl:stylesheet>