summaryrefslogtreecommitdiff
path: root/bin/docdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/docdiff')
-rw-r--r--bin/docdiff16
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/docdiff b/bin/docdiff
new file mode 100644
index 0000000..c565a04
--- /dev/null
+++ b/bin/docdiff
@@ -0,0 +1,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/sconsoutput.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/sconsoutput.py $f | diff $DIFFFLAGS $xml -
+ done
+fi