retitle 680011 build-time timestamps in generated manpages break multiarch reassign 680011 docbook-xsl affects 680011 systemd tag 680011 patch stop
In docbook-xsl/manpages/other.xsl:290 and 377 (see also docbook-xsl/params/man.th.extra1.suppress.xml) docbook emits build-time timestamps into man pages. Since many packages build the manpages at every build, if the package places them into arch-any packages the timestamp breaks multi-arch. Furthermore, the second timestamp, (man.th.extra1) is shown at the bottom of the man page readout, and using the build-time rather than the modify-time here is misleading. Here is a patch against docbook-xsl to remove the first timestamp, but I think a better solution would be to use the mtime of the .xml file. diff --git a/docbook-xsl/manpages/other.xsl b/docbook-xsl/manpages/other.xsl index 5431925..f140c27 100644 --- a/docbook-xsl/manpages/other.xsl +++ b/docbook-xsl/manpages/other.xsl @@ -290,11 +290,6 @@ manvolnum </xsl:call-template> <xsl:text> <http://docbook.sf.net/></xsl:text> <xsl:text> </xsl:text> - <xsl:text>.\" Date: </xsl:text> - <xsl:call-template name="replace.dots.and.dashes"> - <xsl:with-param name="content" select="$date"/> - </xsl:call-template> - <xsl:text> </xsl:text> <xsl:text>.\" Manual: </xsl:text> <xsl:call-template name="replace.dots.and.dashes"> <xsl:with-param name="content" select="$manual"/> -- -Shawn Landden -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org