summaryrefslogtreecommitdiffstats
path: root/bin/docupdate
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-10-27 12:13:58 (GMT)
committerSteven Knight <knight@baldmt.com>2004-10-27 12:13:58 (GMT)
commita5365da8d59675b2262f1b0add0e1875bc4b7935 (patch)
treed62292bac3b67ee577e833548617e05a4b476a67 /bin/docupdate
parent8ed4077009fe3968bc9ce1567e95694a47fa41a8 (diff)
downloadSCons-a5365da8d59675b2262f1b0add0e1875bc4b7935.zip
SCons-a5365da8d59675b2262f1b0add0e1875bc4b7935.tar.gz
SCons-a5365da8d59675b2262f1b0add0e1875bc4b7935.tar.bz2
Add scripts for working with the User's Guide homebrew XML format.
Diffstat (limited to 'bin/docupdate')
-rw-r--r--bin/docupdate16
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/docupdate b/bin/docupdate
new file mode 100644
index 0000000..c4eedb8
--- /dev/null
+++ b/bin/docupdate
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+if test $# -eq 0; then
+ for f in doc/user/*.in; do
+ sgml=doc/user/`basename $f .in`.sgml
+ echo $f:
+ python bin/sconsoutput.py $f > $sgml
+ done
+else
+ for a in $*; do
+ f=doc/user/$a.in
+ sgml=doc/user/$a.sgml
+ echo $f:
+ python bin/sconsoutput.py $f > $sgml
+ done
+fi