summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/makefile2
-rw-r--r--doc/manpage-style.xsl1
2 files changed, 3 insertions, 0 deletions
diff --git a/doc/makefile b/doc/makefile
index f52586935..76e29e2b9 100644
--- a/doc/makefile
+++ b/doc/makefile
@@ -42,6 +42,8 @@ dirs-manpage-subdirs:
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
diff --git a/doc/manpage-style.xsl b/doc/manpage-style.xsl
index 85aa4521f..ef349f064 100644
--- a/doc/manpage-style.xsl
+++ b/doc/manpage-style.xsl
@@ -5,6 +5,7 @@
<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">&lt;<xsl:apply-templates/>&gt;</xsl:template>