summaryrefslogtreecommitdiff
path: root/source4/script
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-05-20 08:03:35 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-05-20 08:03:35 +1000
commit343fea32ccd205c68b23ee894a8ab4f9413af746 (patch)
tree692412a9e06c8947a84aef39d3def68d74774c13 /source4/script
parent38c68f1d5bf972f2473a41bf15c4a54efdc38b7e (diff)
parentd817b435342956295f0a31b91203d1a63ae12063 (diff)
downloadsamba-343fea32ccd205c68b23ee894a8ab4f9413af746.tar.gz
samba-343fea32ccd205c68b23ee894a8ab4f9413af746.tar.bz2
samba-343fea32ccd205c68b23ee894a8ab4f9413af746.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Fix config.mk due to changing syntax. Conflicts: source/libcli/config.mk source/nbt_server/config.mk (This used to be commit 6a1c76f29f78183f44dfac6f468c5e728d2cb2cf)
Diffstat (limited to 'source4/script')
-rwxr-xr-xsource4/script/build_idl.sh36
1 files changed, 0 insertions, 36 deletions
diff --git a/source4/script/build_idl.sh b/source4/script/build_idl.sh
deleted file mode 100755
index ea0cb78b0e..0000000000
--- a/source4/script/build_idl.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-FULLBUILD=$1
-shift 1
-PIDL_EXTRA_ARGS="$*"
-
-[ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1
-
-PIDL="$PERL $srcdir/pidl/pidl --outputdir librpc/gen_ndr --header --ndr-parser --server --client --swig --ejs --python $PIDL_EXTRA_ARGS"
-
-if [ x$FULLBUILD = xFULL ]; then
- echo Rebuilding all idl files in librpc/idl
- $PIDL $srcdir/librpc/idl/*.idl || exit 1
- exit 0
-fi
-
-list=""
-
-for f in $srcdir/librpc/idl/*.idl ; do
- basename=`basename $f .idl`
- ndr="librpc/gen_ndr/ndr_$basename.c"
- # blergh - most shells don't have the -nt function
- if [ -f $ndr ]; then
- if [ x`find $f -newer $ndr -print` = x$f ]; then
- list="$list $f"
- fi
- else
- list="$list $f"
- fi
-done
-
-if [ "x$list" != x ]; then
- $PIDL $list || exit 1
-fi
-
-exit 0