summaryrefslogtreecommitdiffstats
path: root/bin/makedocs
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-01-12 19:11:26 (GMT)
committerSteven Knight <knight@baldmt.com>2003-01-12 19:11:26 (GMT)
commit563ae5e86b7eaaf060559872c58c699e5b34d79b (patch)
tree9333c641aeb7d0a0b22d73cd0a80797924f3fa18 /bin/makedocs
parent5d3b3d8891c805fe334be3cd71a2670b5c76d65a (diff)
downloadSCons-563ae5e86b7eaaf060559872c58c699e5b34d79b.zip
SCons-563ae5e86b7eaaf060559872c58c699e5b34d79b.tar.gz
SCons-563ae5e86b7eaaf060559872c58c699e5b34d79b.tar.bz2
Fix small problems found by PyChecker. (Steve Leblanc)
Diffstat (limited to 'bin/makedocs')
-rw-r--r--bin/makedocs18
1 files changed, 18 insertions, 0 deletions
diff --git a/bin/makedocs b/bin/makedocs
new file mode 100644
index 0000000..2278a97
--- /dev/null
+++ b/bin/makedocs
@@ -0,0 +1,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`