diff --git a/build/unix/makehtml.sh b/build/unix/makehtml.sh index 25b5b1a720687aa244333ad9639007b6eb372400..273f90632babe9bdee0b25bff45e386baa5a458f 100755 --- a/build/unix/makehtml.sh +++ b/build/unix/makehtml.sh @@ -2,6 +2,19 @@ ROOT=bin/root.exe +dir=`pwd` +cd tutorials +# we need tutorials/hsimple.root +if [ ! -f hsimple.root ]; then + $ROOT -l -b -q hsimple.C +fi +cd tree +# we need tutorials/tree/cernstaff.root +if [ ! -f cernstaff.root ]; then + $ROOT -l -b -q cernbuild.C +fi +cd $dir + echo "" echo "Generating doc in directory htmldoc/..." echo ""