summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-05-20 18:37:14 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-05-20 18:37:14 +0200
commit75f37d7d27c2579ddb88f852087a54934cb00c8b (patch)
treebc0ff7f1ece45b7cbbbd325c390b6c03d9d7b364 /doc
parentc086ac18511ce648a0ed88ab470965470bd422c5 (diff)
move the creation of the manpage-style.xsl file to the rest of the
manpage building instead of doing it at setup time, so we can properly depend on it
Diffstat (limited to 'doc')
-rw-r--r--doc/makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/makefile b/doc/makefile
index 76e29e2b9..4c0a431fd 100644
--- a/doc/makefile
+++ b/doc/makefile
@@ -29,7 +29,7 @@ $(LOCAL)-LIST := $(SOURCE)
# Install generation hooks
manpages: $(MANPAGEPOLIST) $($(LOCAL)-LIST)
-$($(LOCAL)-LIST) :: % : %.xml $(INCLUDES)
+$($(LOCAL)-LIST) :: % : %.xml $(STYLESHEET) $(INCLUDES)
echo Creating man page $@
$(XSLTPROC) -o $@ $(STYLESHEET) $<
@@ -42,8 +42,6 @@ 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