1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

Use py_* files to check whether generated files are out of date / not

present.

ndr_*.c files are in git (required for Samba 3), py_*.c files are not.
This commit is contained in:
Jelmer Vernooij 2008-12-16 19:46:43 +01:00
parent f1773a9187
commit d59a79e5bb

View File

@ -30,7 +30,7 @@ fi
list="" list=""
for f in ${IDL_FILES}; do for f in ${IDL_FILES}; do
basename=`basename $f .idl` basename=`basename $f .idl`
ndr="$PIDL_OUTPUTDIR/ndr_$basename.c" ndr="$PIDL_OUTPUTDIR/py_$basename.c"
if [ -f $ndr ]; then if [ -f $ndr ]; then
if [ "x`find $f -newer $ndr -print`" = "x$f" ]; then if [ "x`find $f -newer $ndr -print`" = "x$f" ]; then