diff options
author | Alexander Bokovoy <ab@samba.org> | 2006-04-11 11:37:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:04:03 -0500 |
commit | 9cf41988ff6cf0647ec4850f25415ba66845fd70 (patch) | |
tree | b0af5ecca5db64b45b2ab3bf4a83b4050efa18ee /source4/script/build_idl.sh | |
parent | 970f7122d9095aa95e0513793f69994e235cb1e0 (diff) | |
download | samba-9cf41988ff6cf0647ec4850f25415ba66845fd70.tar.gz samba-9cf41988ff6cf0647ec4850f25415ba66845fd70.tar.bz2 samba-9cf41988ff6cf0647ec4850f25415ba66845fd70.zip |
r15036: Add out of tree build support and see how buildfarm will respond to make constructs
(This used to be commit 9329854489e2c231ffb7986d39009e0936873c11)
Diffstat (limited to 'source4/script/build_idl.sh')
-rwxr-xr-x | source4/script/build_idl.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/script/build_idl.sh b/source4/script/build_idl.sh index aaf0ef8383..1b38245e17 100755 --- a/source4/script/build_idl.sh +++ b/source4/script/build_idl.sh @@ -6,22 +6,22 @@ PIDL_EXTRA_ARGS="$*" [ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1 -PIDL="$PERL ./pidl/pidl --outputdir librpc/gen_ndr --header --ndr-parser --server --client --dcom-proxy --com-header --swig --ejs $PIDL_EXTRA_ARGS" +PIDL="$PERL $srcdir/pidl/pidl --outputdir librpc/gen_ndr --header --ndr-parser --server --client --dcom-proxy --com-header --swig --ejs $PIDL_EXTRA_ARGS" if [ x$FULLBUILD = xFULL ]; then echo Rebuilding all idl files in librpc/idl - $PIDL librpc/idl/*.idl || exit 1 + $PIDL $srcdir/librpc/idl/*.idl || exit 1 exit 0 fi list="" -for f in librpc/idl/*.idl ; do +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 + if [ x$srcdir/`find $f -newer $ndr -print` = x$f ]; then list="$list $f" fi else |