#! /bin/sh

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 ""

$ROOT -l <<makedoc
    THtml h;
    h.LoadAllLibs();
    h.MakeAll();
    .q
makedoc

#! /bin/sh

ROOT=bin/root

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 ""

$ROOT -l <<makedoc
    THtml h;
    h.LoadAllLibs();
    h.MakeAll();
    .q
makedoc

Use root instead of root.exe to set ROOTSYS etc
Use root instead of root.exe to set ROOTSYS etc


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@44724 27541ba8-7e3a-0410-8455-c3a389f83636
