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

r725: fix usage of $PERL to "$PERL" to handle perl -W correct

metze
(This used to be commit b1161c4c83)
This commit is contained in:
Stefan Metzmacher 2004-05-14 12:01:31 +00:00 committed by Gerald (Jerry) Carter
parent 6b921d1d21
commit 19fba1fafa
2 changed files with 4 additions and 4 deletions

View File

@ -121,7 +121,7 @@ sub _prepare_IDL($)
$output = "
idl_full: build/pidl/idl.pm
CPP=\"\@CPP\@\" script/build_idl.sh FULL
CPP=\"\@CPP\@\" PERL=\"\$(PERL)\" script/build_idl.sh FULL
idl: build/pidl/idl.pm
\@CPP=\"\@CPP\@\" script/build_idl.sh
@ -583,7 +583,7 @@ delheaders: pch_clean
-rm -f \$(builddir)/include/proto.h \$(builddir)/include/build_env.h:
include/proto.h:
\@cd \$(srcdir) && \$(SHELL) script/mkproto.sh \$(PERL) \\
\@cd \$(srcdir) && \$(SHELL) script/mkproto.sh \"\$(PERL)\" \\
-h _PROTO_H_ \$(builddir)/include/proto.h \\
\$(PROTO_OBJS)

View File

@ -4,8 +4,8 @@ FULLBUILD=$1
[ -d librpc/gen_ndr ] || mkdir -p librpc/gen_ndr || exit 1
PIDL="./build/pidl/pidl.pl --output librpc/gen_ndr/ndr_ --parse --header --parser --server"
TABLES="./build/pidl/tables.pl --output librpc/gen_ndr/tables"
PIDL="$PERL ./build/pidl/pidl.pl --output librpc/gen_ndr/ndr_ --parse --header --parser --server"
TABLES="$PERL ./build/pidl/tables.pl --output librpc/gen_ndr/tables"
if [ x$FULLBUILD = xFULL ]; then
echo Rebuilding all idl files in librpc/idl