summaryrefslogtreecommitdiffstats
path: root/bin/makedocs
blob: 2278a97ffffa00443e3d388bee9adb21ac60372b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /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`