git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6071ca9
)
s3-idl: support --full for s3 build_idl.sh as well.
author
Günther Deschner
<gd@samba.org>
Mon, 5 Jul 2010 13:24:27 +0000
(15:24 +0200)
committer
Günther Deschner
<gd@samba.org>
Mon, 5 Jul 2010 13:41:33 +0000
(15:41 +0200)
Guenther
source3/script/build_idl.sh
patch
|
blob
|
history
diff --git
a/source3/script/build_idl.sh
b/source3/script/build_idl.sh
index 8877913137f061e301cca70f6b814034ac331cc4..8f885887654b34438c30f9e8e2e43a14950595d2 100755
(executable)
--- 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
##