summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-20 11:09:53 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-20 11:09:53 +0000
commitb0083691759c9d0561a5e9d436d927a44c82b388 (patch)
treef4e0178a4fdb82a8685150b5a61f2ecb78e3fec4 /source4/script
parentfe6fd991ee42aee36a5141f11295f7936091447f (diff)
downloadsamba-b0083691759c9d0561a5e9d436d927a44c82b388.tar.gz
samba-b0083691759c9d0561a5e9d436d927a44c82b388.tar.bz2
samba-b0083691759c9d0561a5e9d436d927a44c82b388.zip
moved the pidl auto-generated files out of CVS
(This used to be commit 49c72d42766a55e2833c004e721a47115000626b)
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/build_idl.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/script/build_idl.sh b/source4/script/build_idl.sh
index cb81e4de74..1eef5644e8 100755
--- a/source4/script/build_idl.sh
+++ b/source4/script/build_idl.sh
@@ -2,12 +2,15 @@
FULLBUILD=$1
+[ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1
+[ -d librpc/gen_rpc ] || mkdir -p librpc/gen_rpc || exit 1
+
for f in librpc/idl/*.idl; do
base=`basename $f .idl`
- ndr=librpc/ndr/ndr_$base
+ 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/rpc/rpc_$base.c $f || exit 1
+ pidl.pl --output $ndr --parse --header --parser --client librpc/gen_rpc/rpc_$base.c $f || exit 1
fi
done