script) ##### Game scrips and AI and their libraries # First build the bundle files if [ -f Makefile ] then; make make bundle_zip make bundle_src for f in *source.tar; do [ -f "$f" ] && xz "$f"; done fi # Create doxygen documention mkdir -p bundle/docs/doxygen if [ ! -f Doxyfile ] then; # When there's no config file (good so!) then create a default one with project name and version cp ~/bin/repos/devzone/compiler/Doxyfile.devzone . [ -f info.nut ] && infofile=info.nut [ -f bundle/info.nut ] && infofile=bundle/info.nut [ -f library.nut ] && infofile=library.nut [ -f bundle/library.nut ] && infofile=bundle/library.nut echo "PROJECT_NAME = `cat $infofile | grep 'GetName' | awk '{print $5}' | cut -d\" -f2`" >> Doxyfile.devzone echo "PROJECT_NUMBER = `cat $infofile | grep 'GetVersion' | awk '{print $5}' | cut -d; -f2`" >> Doxyfile.devzone else cat Doxyfile >> Doxyfile.devzone fi doxygen Doxyfile.devzone ;;