-
Philippe Canal authored
git-svn-id: http://root.cern.ch/svn/root/trunk@40543 27541ba8-7e3a-0410-8455-c3a389f83636
Philippe Canal authoredgit-svn-id: http://root.cern.ch/svn/root/trunk@40543 27541ba8-7e3a-0410-8455-c3a389f83636
makehtmlchunk.sh 711 B
#!/bin/sh
#
# Generate the ROOT User's Guide as multiple HTML files (one per section).
oxygendir="/Applications/oxygen"
docbookdirs="/usr/share/sgml/docbook/xsl-stylesheets-1.75.2 \
/usr/share/xml/docbook/stylesheet/docbook-xsl \
/sw/share/xml/xsl/docbook-xsl"
if [ -d "$oxygendir" ]; then
docbookdirs="$oxygendir/frameworks/docbook/xsl"
fi
for d in $docbookdirs; do
if [ -d "$d" ]; then
docbook=$d
fi
done
if [ -z "$docbook" ]; then
echo "$0: no docbook installation found"
exit 1
fi
if [ -d html ]; then
rm -rf html
fi
mkdir html
cd html
xsltproc --xinclude --output ROOTUsersGuide.html \
$docbook/html/chunk.xsl \
../ROOTUsersGuide.xml
exit 0