VPATH=${top_srcdir}/src
AT3=perl -I${top_srcdir}/project ${top_srcdir}/project/at3
XSLTPROC:=xsltproc
-TIDY=tidy
+TIDY=tidy -i -q --show-warnings no --tidy-mark no --wrap 0
XMLLINT:=xmllint
docbookxls:=http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
${WSDL}: %.wsdl: %.xml puke-wsdl.xsl
${XSLTPROC} ../src/puke-wsdl.xsl $< >$@
- -${TIDY} -wrap 10000 -xml -m -i -q $@
- -perl -i -n -e 'if (/^\s*$$/) { $$empty .= "\n"; } elsif (/^\s*<(xsd:)?(enumeration|element|input|output|fault)/) { print $$_; $$empty = "";} else { print "$$empty$$_"; $$empty=""; }; ' $@
+ -${TIDY} -xml -m $@
+# XXX: obsolete
+# -perl -i -n -e 'if (/^\s*$$/) { $$empty .= "\n"; } elsif (/^\s*<(xsd:)?(enumeration|element|input|output|fault)/) { print $$_; $$empty = "";} else { print "$$empty$$_"; $$empty=""; }; ' $@
LB.html: doc.xml LBTypes.xml LB.xml puke-ug.xsl
${XSLTPROC} --novalid ../src/puke-ug.xsl $< >doc-html.xml
+ -${TIDY} -xml -m doc-html.xml
${XMLLINT} --valid --noout doc-html.xml
${XSLTPROC} --stringparam chapter.autolabel 0 ${docbookxls} doc-html.xml >$@
+ -${TIDY} -asxhtml -m $@