Use py_* files to check whether generated files are out of date / not
authorJelmer Vernooij <jelmer@samba.org>
Tue, 16 Dec 2008 18:46:43 +0000 (19:46 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 16 Dec 2008 18:46:43 +0000 (19:46 +0100)
present.

ndr_*.c files are in git (required for Samba 3), py_*.c files are not.

librpc/build_idl.sh

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