Add scripts for working with the User's Guide homebrew XML format.
[scons.git] / bin / docupdate
1 #!/bin/sh
2
3 if test $# -eq 0; then
4     for f in doc/user/*.in; do
5         sgml=doc/user/`basename $f .in`.sgml
6         echo $f:
7         python bin/sconsoutput.py $f > $sgml
8     done
9 else
10     for a in $*; do
11         f=doc/user/$a.in
12         sgml=doc/user/$a.sgml
13         echo $f:
14         python bin/sconsoutput.py $f > $sgml
15     done
16 fi