summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-28 00:48:05 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-28 00:48:05 +0000
commitdf5949efb425668f8e7ae38c0c858bd90529255a (patch)
tree6fc93659cff35e9a4a9a433d0a7cc4eb5e383f42 /source4/script
parentabff8aac56b2481de2223bf43ae2098cc7ab2391 (diff)
downloadsamba-df5949efb425668f8e7ae38c0c858bd90529255a.tar.gz
samba-df5949efb425668f8e7ae38c0c858bd90529255a.tar.bz2
samba-df5949efb425668f8e7ae38c0c858bd90529255a.zip
added auto-generation of the IDL interface tables. This makes two less
places that need to be edited when someone adds a new IDL file. (This used to be commit ccd9ddeed679baa6cbb05ac728b381b50420e00f)
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/build_idl.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/script/build_idl.sh b/source4/script/build_idl.sh
index 9ad9391ee0..b31d26c23d 100755
--- a/source4/script/build_idl.sh
+++ b/source4/script/build_idl.sh
@@ -8,10 +8,14 @@ FULLBUILD=$1
( cd build/pidl && make ) || exit 1
PIDL="build/pidl/pidl.pl --output librpc/gen_ndr/ndr_ --parse --header --parser --client librpc/gen_rpc/rpc_"
+TABLES="build/pidl/tables.pl --output librpc/gen_ndr/tables"
if [ x$FULLBUILD = xFULL ]; then
echo Rebuilding all idl files in librpc/idl
$PIDL librpc/idl/*.idl || exit 1
+
+ echo Rebuilding IDL tables
+ $TABLES librpc/gen_ndr/ndr_*.h
exit 0
fi