bin/makedocs
raw| 1 | #! /bin/sh |
| 2 | |
| 3 | # This script uses HappyDoc to create the HTML class documentation for |
| 4 | # SCons. It must be run from the src/engine directory. |
| 5 | |
| 6 | base=`basename $PWD` |
| 7 | if [ "$base" != "engine" ]; then |
| 8 | echo "You must run this script from the engine directory." |
| 9 | exit |
| 10 | fi |
| 11 | |
| 12 | DEVDIR=../doc/developer |
| 13 | if [ ! -d $DEVDIR ]; then |
| 14 | mkdir $DEVDIR |
| 15 | fi |
| 16 | |
| 17 | SRCFILE=../../bin/files |
| 18 | happydoc -d $DEVDIR `cat $SRCFILE` |