diff options
| author | Simon MacMullen <simon@lshift.net> | 2010-02-26 12:52:44 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@lshift.net> | 2010-02-26 12:52:44 +0000 |
| commit | 311661f24b7c940ee129291f8a5a4b23ec8ee87d (patch) | |
| tree | d2334df5565746843b13f4c3cc63484e5ca2b78f /Makefile | |
| parent | 3014307bec01fa5066afcb5e29467fe3b6fbe866 (diff) | |
| download | rabbitmq-server-git-311661f24b7c940ee129291f8a5a4b23ec8ee87d.tar.gz | |
Fix internal links in the generated page.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -210,10 +210,12 @@ distclean: clean # This evil with grep and sed is due to the remarkable ugliness otherwise # experienced trying to get XSLT to work with an input doc where all nodes are # in a namespace. +# Also we rename the file before xmlto sees it since xmlto will use the name of +# the file to make internal links. rabbitmqctl.xml: docs/rabbitmqctl.1.xml - xmlto xhtml docs/rabbitmqctl.1.xml - cat index.html | grep -v DOCTYPE | sed -e s,xmlns=\"http://www.w3.org/1999/xhtml\",, | xsltproc docs/html-to-website-xml.xsl - | xmllint --format - > rabbitmqctl.xml - rm index.html + cp docs/rabbitmqctl.1.xml rabbitmqctl.xml && xmlto xhtml-nochunks rabbitmqctl.xml ; rm rabbitmqctl.xml + cat rabbitmqctl.html | grep -v DOCTYPE | sed -e s,xmlns=\"http://www.w3.org/1999/xhtml\",, | xsltproc docs/html-to-website-xml.xsl - | xmllint --format - > rabbitmqctl.xml + rm rabbitmqctl.html # TODO how should this really be deployed? cp rabbitmqctl.xml ../rabbitmq-website/site/ |
