- build manpages with the correct l10n.gentext.default.language setting
to get the correct section titles provided by docbook
# Do not use XMLTO, build the manpages directly with XSLTPROC
ifdef XSLTPROC
-STYLESHEET=../manpage-style.xsl
+STYLESHEET=manpage-style.xsl
LOCAL := po4a-manpage-$(firstword $(SOURCE))
$(LOCAL)-LIST := $(SOURCE)
* cmdline/apt-get.cc:
- use the host architecture, not the build architecture for matching
of [architecture restrictions] in Build-Depends (Closes: #672927)
+ * doc/makefile:
+ - build manpages with the correct l10n.gentext.default.language setting
+ to get the correct section titles provided by docbook
[ Raphael Geissert ]
* apt-pkg/acquire*.cc:
for i in $(MANPAGEPO); do \
test -d $$i || mkdir $$i; \
test -f $$i/makefile || sed "s#@@LANG@@#$$i#" lang.makefile > $$i/makefile; \
+ test -f $$i/manpage-style.xsl || sed "/<!-- LANGUAGE -->/ i\
+<xsl:param name=\"l10n.gentext.default.language\" select=\"'$$i'\" />" manpage-style.xsl > $$i/manpage-style.xsl; \
done
# Clean rule
<xsl:import href="/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl" />
<xsl:param name="man.output.encoding" select="'UTF-8'" />
+<!-- LANGUAGE -->
<xsl:template match="email"><<xsl:apply-templates/>></xsl:template>