...and call the correct method.
[scons.git] / bin / docupdate
1 #!/bin/sh
2
3 if test $# -eq 0; then
4     for f in doc/user/*.in; do
5         xml=doc/user/`basename $f .in`.xml
6         echo $f:
7         python bin/sconsoutput.py $f > $xml
8     done
9 else
10     for a in $*; do
11         f=doc/user/$a.in
12         xml=doc/user/$a.xml
13         echo $f:
14         python bin/sconsoutput.py $f > $xml
15     done
16 fi