summaryrefslogtreecommitdiff
path: root/source4/script/build_idl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script/build_idl.sh')
-rwxr-xr-xsource4/script/build_idl.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/script/build_idl.sh b/source4/script/build_idl.sh
new file mode 100755
index 0000000000..a456f479fd
--- /dev/null
+++ b/source4/script/build_idl.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+for f in librpc/idl/*.idl; do
+ echo Processing $f
+ base=`basename $f .idl`
+ ndr=librpc/ndr/ndr_$base
+ $HOME/pidl/pidl.pl --output $ndr --parse --header --parser $f || exit 1
+done
+
+exit 0