Preserve original .html file before tidying it up to make error messages traceable

This commit is contained in:
Ingo Ruhnke 2011-08-22 22:27:36 +02:00
parent a4f727a3a1
commit eda858b578

View file

@ -4,7 +4,8 @@ xboxdrv.1: xboxdrv.xml Makefile
echo "<!ENTITY xboxdrv_version \"$$(cat ../VERSION)\">" > xboxdrv.ent
db2x_xsltproc --stylesheet man "$<" | db2x_manxml
xmlto xhtml -o xboxdrv.html -m config.xsl xboxdrv.xml
tidy -utf8 -indent -wrap 1000 -m xboxdrv.html/index.html
mv -v xboxdrv.html/index.html xboxdrv.html/index.orig.html
tidy -utf8 -indent -wrap 1000 xboxdrv.html/index.orig.html -o xboxdrv.html/index.html
# docbook2x-texi --output-dir "../build/doc/" "$<"
# MANWIDTH=80 man -l xboxdrv.1