From cb52b1ad99e17c09d4c429a780f30772efd6eaf9 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 5 Jul 2010 15:24:27 +0200 Subject: s3-idl: support --full for s3 build_idl.sh as well. Guenther --- source3/script/build_idl.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'source3/script/build_idl.sh') 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 ## -- cgit