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:
parent
f1773a9187
commit
d59a79e5bb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user