summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2010-04-06 14:43:48 +0100
committerMatthew Sackman <matthew@lshift.net>2010-04-06 14:43:48 +0100
commit03fe4ade50b2e46d87f1db8dc05a299e7a059d54 (patch)
treeebeb3e7a5cab6ea4a6cda91b77ec997e66d32c1c
parent15d76638c881fb470e72ea900c0cad56638269e2 (diff)
parentaab66b4d578ba724018f2de2f51887eae5787bdf (diff)
downloadrabbitmq-server-03fe4ade50b2e46d87f1db8dc05a299e7a059d54.tar.gz
Merging bug 22582 into default
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 4a90ef9f..6cb086ab 100644
--- a/Makefile
+++ b/Makefile
@@ -211,11 +211,11 @@ distclean: clean
# generated but empty if we fail
$(SOURCE_DIR)/%_usage.erl:
xsltproc --stringparam modulename "`basename $@ .erl`" \
- $(DOCS_DIR)/usage.xsl $< > $@.tmp && \
- sed -e s/\\\"/\\\\\\\"/g -e s/%QUOTE%/\\\"/g $@.tmp > $@.tmp2 && \
- fold -s $@.tmp2 > $@.tmp3 && \
- cp $@.tmp3 $@ && \
- rm $@.tmp $@.tmp2 $@.tmp3
+ $(DOCS_DIR)/usage.xsl $< > $@.tmp
+ sed -e 's/"/\\"/g' -e 's/%QUOTE%/"/g' $@.tmp > $@.tmp2
+ fold -s $@.tmp2 > $@.tmp3
+ mv $@.tmp3 $@
+ rm $@.tmp $@.tmp2
# We rename the file before xmlto sees it since xmlto will use the name of
# the file to make internal links.