1
0
This repository has been archived on 2025-10-04. You can view files and clone it, but cannot push or open issues or pull requests.
Files
irrlicht-archive/scripts/doc/irrlicht/maketutorial.sh
cutealien 5f3fc797f4 Merging r6201 from branch releases/1.8 to trunk
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6202 dfc29bdd-3216-0410-991c-e03cc46cb475
2021-03-18 20:57:08 +00:00

30 lines
660 B
Bash
Executable File

# Create the tutorial.html files in each example folder
# for every folder below examples
for i in ../../../examples/[012]*; do
echo NOW doing $i
# uses the main.cpp files to create some file to use as doxygen input
sed -f tutorials.sed $i/main.cpp >single_tut.txt
# echo tutorials.sed has run
# create the html file
doxygen doxygen_tutorial.cfg
# echo doxygen has run
# Fix the image links
sed -f maketut.sed html/example???.html >tutorial.html
# echo maketut.sed has run
#move to example folder
mv tutorial.html $i/tutorial.html
# echo copied
#cleanup
rm -r html
# echo cleaned
done
#cleanup
rm single_tut.txt