1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

make idl: Only compile idl files newer than the output to be generated.

Fix "if" condition in build_idl.sh to not always evaluate as false.

Michael
(This used to be commit 79c199d16e)
This commit is contained in:
Michael Adam 2008-02-26 16:01:34 +01:00
parent 7bdd648477
commit 379fa9baae

View File

@ -23,7 +23,7 @@ for f in ${IDL_FILES}; do
basename=`basename $f .idl`
ndr="librpc/gen_ndr/ndr_$basename.c"
if [ -f $ndr ] && false; then
if [ -f $ndr ] ; then
if [ "x`find librpc/idl/$f -newer $ndr -print`" = "xlibrpc/idl/$f" ]; then
list="$list librpc/idl/$f"
fi