diff options
-rwxr-xr-x | source3/script/build_idl.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/script/build_idl.sh b/source3/script/build_idl.sh index 8877913137..8f88588765 100755 --- a/source3/script/build_idl.sh +++ b/source3/script/build_idl.sh @@ -1,5 +1,12 @@ #!/bin/sh +if [ "$1" = "--full" ]; then + FULL=1 + shift 1 +else + FULL=0 +fi + ARGS="--includedir=../librpc/idl --outputdir $PIDL_OUTPUTDIR --header --ndr-parser --samba3-ndr-server --samba3-ndr-client $PIDL_ARGS --" IDL_FILES="$*" @@ -10,6 +17,12 @@ cd ${srcdir} PIDL="$PIDL $ARGS" +if [ $FULL = 1 ]; then + echo "Rebuilding all idl files" + $PIDL $IDL_FILES || exit 1 + exit 0 +fi + ## ## Find newer files rather than rebuild all of them ## |