diff options
author | Steven Knight <knight@baldmt.com> | 2004-10-27 12:13:58 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-10-27 12:13:58 (GMT) |
commit | a5365da8d59675b2262f1b0add0e1875bc4b7935 (patch) | |
tree | d62292bac3b67ee577e833548617e05a4b476a67 /bin/docdiff | |
parent | 8ed4077009fe3968bc9ce1567e95694a47fa41a8 (diff) | |
download | SCons-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/docdiff')
-rw-r--r-- | bin/docdiff | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/docdiff b/bin/docdiff new file mode 100644 index 0000000..59f9472 --- /dev/null +++ b/bin/docdiff @@ -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 | diff $DIFFFLAGS $sgml - + done +else + for a in $*; do + f=doc/user/$a.in + sgml=doc/user/$a.sgml + echo $f: + python bin/sconsoutput.py $f | diff $DIFFFLAGS $sgml - + done +fi |