summaryrefslogtreecommitdiff
path: root/doc/makefile
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-05-17 22:21:03 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-05-17 22:21:03 +0200
commit1c8754c2fc67e6bafd92af8cb964661e858c6f41 (patch)
treed8edcbf8dd0034c84dddf07ad2a313e6d0605e4e /doc/makefile
parent335e2c82afc5ddb305c9e36fac17a024d7dc9c3f (diff)
* doc/makefile:
- build manpages with the correct l10n.gentext.default.language setting to get the correct section titles provided by docbook
Diffstat (limited to 'doc/makefile')
-rw-r--r--doc/makefile2
1 files changed, 2 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