On Mon, Jul 18, 2011 at 07:20:19AM -0400, Greg Stein wrote:
> On Sun, Jul 17, 2011 at 08:42, <stsp_at_apache.org> wrote:
> >...
> > +++ subversion/trunk/tools/dev/unix-build/Makefile.svn Sun Jul 17 12:42:40 2011
> > @@ -1186,7 +1186,8 @@ $(SVN_OBJDIR)/.bindings-compiled: $(SVN_
> > LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) make swig-rb
> > if [ $(ENABLE_PERL_BINDINGS) = yes ]; then \
> > cd $(svn_builddir) \
> > - && make swig-pl; \
> > + && env LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) \
> > + make swig-pl; \
> > fi
>
> I don't think you want that backslash...
Make spawns a new subshell for each new line in a rule.
I need all the backslashes to prevent make from splitting the
if-statement across multiple shell invocations.
The whole if-statement needs to appear on a single line to the shell
including the terminating 'fi'.
Received on 2011-07-18 13:31:23 CEST