summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-05-31 11:18:56 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2011-05-31 11:18:56 +0100
commitb39431bedc5a1bb2e247bab5372962296f284214 (patch)
tree140205d34361e397d65f46767b4008a8360c0abc /Makefile
parent9050e3a145a7f9b6b27534a53cf6f685fe7bdbba (diff)
parentd6bfb4873822ad3d301d79565ffe32ca9e63ccc4 (diff)
downloadrabbitmq-server-git-b39431bedc5a1bb2e247bab5372962296f284214.tar.gz
Merging bug24137 to default
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9c47c819a1..a347689b1b 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
@@ -242,7 +242,7 @@ distclean: clean
# Do not fold the cp into previous line, it's there to stop the file being
# generated but empty if we fail
$(SOURCE_DIR)/%_usage.erl:
- xsltproc --stringparam modulename "`basename $@ .erl`" \
+ xsltproc --novalid --stringparam modulename "`basename $@ .erl`" \
$(DOCS_DIR)/usage.xsl $< > $@.tmp
sed -e 's/"/\\"/g' -e 's/%QUOTE%/"/g' $@.tmp > $@.tmp2
fold -s $@.tmp2 > $@.tmp3
@@ -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