From 15776970a5f501cf407fbc47eb7f35705959ec1b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 20 Nov 2003 22:46:01 +0000 Subject: we now use a copy of pidl inside the samba4 source tree at source/build/pidl/ I imported the code using direct respository manipulation to preserve the commit history (This used to be commit 2ed87a52ccc343c281e29f5a18f3f99fe06beb28) --- source4/script/build_idl.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/script') diff --git a/source4/script/build_idl.sh b/source4/script/build_idl.sh index 1eef5644e8..569dd7dd31 100755 --- a/source4/script/build_idl.sh +++ b/source4/script/build_idl.sh @@ -5,12 +5,14 @@ FULLBUILD=$1 [ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1 [ -d librpc/gen_rpc ] || mkdir -p librpc/gen_rpc || exit 1 +( cd build/pidl && make ) || exit 1 + for f in librpc/idl/*.idl; do base=`basename $f .idl` ndr=librpc/gen_ndr/ndr_$base if [ x$FULLBUILD = xFULL -o "$f" -nt $ndr.c ]; then echo Processing $f - pidl.pl --output $ndr --parse --header --parser --client librpc/gen_rpc/rpc_$base.c $f || exit 1 + build/pidl/pidl.pl --output $ndr --parse --header --parser --client librpc/gen_rpc/rpc_$base.c $f || exit 1 fi done -- cgit