mirror of
https://github.com/Relintai/scons_gd.git
synced 2025-03-20 19:12:32 +01:00
19 lines
397 B
Bash
19 lines
397 B
Bash
#! /bin/sh
|
|
|
|
# This script uses HappyDoc to create the HTML class documentation for
|
|
# SCons. It must be run from the src/engine directory.
|
|
|
|
base=`basename $PWD`
|
|
if [ "$base" != "engine" ]; then
|
|
echo "You must run this script from the engine directory."
|
|
exit
|
|
fi
|
|
|
|
DEVDIR=../doc/developer
|
|
if [ ! -d $DEVDIR ]; then
|
|
mkdir $DEVDIR
|
|
fi
|
|
|
|
SRCFILE=../../bin/files
|
|
happydoc -d $DEVDIR `cat $SRCFILE`
|