summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-05-31 11:08:01 +0100
committerSimon MacMullen <simon@rabbitmq.com>2011-05-31 11:08:01 +0100
commitd6bfb4873822ad3d301d79565ffe32ca9e63ccc4 (patch)
tree82867e15bff01f62ff1e0b60d9ba7ce561326046
parent98bbc39689ce4013e9a2c18b83a09eea67d415ef (diff)
downloadrabbitmq-server-git-d6bfb4873822ad3d301d79565ffe32ca9e63ccc4.tar.gz
These "--novalid"s are less meaningful in the context of bug 24137 since you need to have docbook installed to get this far and so can't trigger the bug. But it can't harm to put them in, and it's possible that there's some other bug I haven't thought of that this fixes.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a27d3138f8..1921304ad5 100644
--- a/Makefile
+++ b/Makefile
@@ -233,7 +233,7 @@ distclean: clean
# xmlto can not read from standard input, so we mess with a tmp file.
%.gz: %.xml $(DOCS_DIR)/examples-to-end.xsl
xmlto --version | grep -E '^xmlto version 0\.0\.([0-9]|1[1-8])$$' >/dev/null || opt='--stringparam man.indent.verbatims=0' ; \
- xsltproc $(DOCS_DIR)/examples-to-end.xsl $< > $<.tmp && \
+ xsltproc --novalid $(DOCS_DIR)/examples-to-end.xsl $< > $<.tmp && \
xmlto -o $(DOCS_DIR) $$opt man $<.tmp && \
gzip -f $(DOCS_DIR)/`basename $< .xml`
rm -f $<.tmp
@@ -256,7 +256,7 @@ $(SOURCE_DIR)/%_usage.erl:
xmlto xhtml-nochunks `basename $< .xml`.xml ; rm `basename $< .xml`.xml
cat `basename $< .xml`.html | \
xsltproc --novalid $(DOCS_DIR)/remove-namespaces.xsl - | \
- xsltproc --stringparam original `basename $<` $(DOCS_DIR)/html-to-website-xml.xsl - | \
+ xsltproc --novalid --stringparam original `basename $<` $(DOCS_DIR)/html-to-website-xml.xsl - | \
xmllint --format - > $@
rm `basename $< .xml`.html