summaryrefslogtreecommitdiffstats
path: root/bin/docdiff
blob: c7adb05b9812d5144090999223ccb63c2c67dffb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

if test $# -eq 0; then
    for f in doc/user/*.in; do
        xml=doc/user/`basename $f .in`.xml
        echo $f:
        python bin/scons-doc.py $f | diff $DIFFFLAGS $xml -
    done
else
    for a in $*; do
        f=doc/user/$a.in
        xml=doc/user/$a.xml
        echo $f:
        python bin/scons-doc.py $f | diff $DIFFFLAGS $xml -
    done
fi