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)
commitc9b7bb4857f4afc282b75c703f99a99bc3728cac (patch)
treed62292bac3b67ee577e833548617e05a4b476a67 /bin/docupdate
parentd63da93c7cf68387f0dd396acb80418de8b667a8 (diff)
downloadSCons-c9b7bb4857f4afc282b75c703f99a99bc3728cac.zip
SCons-c9b7bb4857f4afc282b75c703f99a99bc3728cac.tar.gz
SCons-c9b7bb4857f4afc282b75c703f99a99bc3728cac.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