1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-26 01:49:31 +03:00

cope with yapp not being installed

(This used to be commit e41d95acc0)
This commit is contained in:
Andrew Tridgell
2003-12-08 03:57:03 +00:00
parent 989788a7e8
commit 86d0e4b7f1

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"