1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

cope with yapp not being installed

This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 9246b4a331
commit e41d95acc0

View File

@ -5,8 +5,12 @@ FULLBUILD=$1
[ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1
if [ ! -f build/pidl/idl.pm -o build/pidl/idl.yp -nt build/pidl/idl.pm ]; then
echo Rebuilding IDL parser
( cd build/pidl && make ) || exit 1;
if `which yapp`; then
echo Rebuilding IDL parser
( cd build/pidl && make ) || exit 1;
else
echo "warning: yapp is not installed";
fi
fi
PIDL="build/pidl/pidl.pl --output librpc/gen_ndr/ndr_ --parse --header --parser"