From e085c0199e53ffb05040991540184c6a65659531 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Mon, 27 Jun 2005 18:08:21 +0000 Subject: [PATCH] tuning html docs --- org.glite.lb.ws-interface/Makefile | 10 +++++++--- org.glite.lb.ws-interface/src/doc.xml | 5 +++++ 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 org.glite.lb.ws-interface/src/doc.xml diff --git a/org.glite.lb.ws-interface/Makefile b/org.glite.lb.ws-interface/Makefile index d498bd7..c53cae7 100644 --- a/org.glite.lb.ws-interface/Makefile +++ b/org.glite.lb.ws-interface/Makefile @@ -16,8 +16,10 @@ SUFFIXES = .T VPATH=${top_srcdir}/src AT3=perl -I${top_srcdir}/project ${top_srcdir}/project/at3 -XSLTPROC=xsltproc +XSLTPROC:=xsltproc TIDY=tidy +XMLLINT:=xmllint +docbookxls:=http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl STAGETO=interface @@ -72,5 +74,7 @@ ${WSDL}: %.wsdl: %.xml 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=""; }; ' $@ -LB-ug.xml: LB.xml puke-ug.xsl - ${XSLTPROC} ../src/puke-ug.xsl $< >$@ +LB.html: doc.xml LBTypes.xml LB.xml puke-ug.xsl + ${XSLTPROC} --novalid ../src/puke-ug.xsl $< >doc-html.xml + ${XMLLINT} --valid --noout doc-html.xml + ${XSLTPROC} --stringparam chapter.autolabel 0 ${docbookxls} doc-html.xml >$@ diff --git a/org.glite.lb.ws-interface/src/doc.xml b/org.glite.lb.ws-interface/src/doc.xml new file mode 100644 index 0000000..fd65f12 --- /dev/null +++ b/org.glite.lb.ws-interface/src/doc.xml @@ -0,0 +1,5 @@ + + + + -- 1.8.2.3