2 @rm -f doxygen-errors.txt
3 @-doxygen dali.doxy &> doxygen-errors.txt || rm doxygen-errors.txt
4 @touch doxygen-errors.txt
5 @cat doxygen-errors.txt
6 @if [ -s doxygen-errors.txt ]; then exit 1 ; fi
8 # Build JavaScript API documentation using yuidoc ( Yahoo JavaScript Documentation Tool )
9 # We first test yuidoc exists, then change in to the dali-script-v8 docs directory and run yuidoc
10 @if [ ! `which yuidoc` = "" ]; then cd ../../../plugins/dali-script-v8/docs && yuidoc --config yuidoc.json -e ".cpp,.js,.md" -o generated .. ../../../docs/content/shared-javascript-and-cpp-documentation/ ; fi