3 if [ "$1" = "--full" ]; then
10 ARGS="--outputdir $PIDL_OUTPUTDIR --header --ndr-parser --samba3-ndr-server --samba3-ndr-client --server --client --python --dcom-proxy --com-header $PIDL_ARGS --"
16 [ -d $PIDL_OUTPUTDIR ] || mkdir -p $PIDL_OUTPUTDIR || exit 1
20 if [ $FULL = 1 ]; then
21 echo "Rebuilding all idl files"
22 $PIDL $IDL_FILES || exit 1
27 ## Find newer files rather than rebuild all of them
31 for f in ${IDL_FILES}; do
32 basename=`basename $f .idl`
33 ndr="$PIDL_OUTPUTDIR/py_$basename.c"
36 if [ "x`find $f -newer $ndr -print`" = "x$f" ]; then
45 ## generate the ndr stubs
48 if [ "x$list" != x ]; then
49 # echo "${PIDL} ${list}"