Re: make fails if path has spaces - Mailing list pgsql-hackers-win32

From Bruce Momjian
Subject Re: make fails if path has spaces
Date
Msg-id 200408130353.i7D3rsC11449@candle.pha.pa.us
Whole thread Raw
In response to Re: make fails if path has spaces  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: make fails if path has spaces  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-hackers-win32
Andreas Pflug wrote:
> Bruce Momjian wrote:
> > Andreas Pflug wrote:
> >
> >>Bruce Momjian wrote:
> >>
> >>
> >>>Yes, the executable has to be quoted.  Where is it being referenced
> >>>unquoted?
> >>
> >>In this case, $(PERL) is referenced for building psql's doc. PERL is set
> >>in Makefile.global unquoted, as all paths.
> >>
> >>For others, the same problem might arise with bison or flex.
> >
> >
> > Is the problem the assignment in Makefile.global or the use of the
> > variable in psql/Makefile?
> >
>
> It could be fixed in both places, but the more general fix would be to
> qoute in Makefile.global, i.e. fixing configure.

What if you change this:

    PERL                    = @PERL@

to this:

    PERL                    = "@PERL@"

Does it help?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-hackers-win32 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Win32 Event log
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] error moving table to tablespace