Re: %ENV warnings during builds

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: %ENV warnings during builds
Дата
Msg-id 4E132CFA.6060604@dunslane.net
обсуждение исходный текст
Ответ на Re: %ENV warnings during builds  (Brar Piening <brar@gmx.de>)
Ответы Re: %ENV warnings during builds
Список pgsql-hackers

On 07/05/2011 02:30 AM, Brar Piening wrote:
> schrieb Andrew Dunstan:
>> Hmm, I missed that you had done this. Here are two replacement perl
>> scripts I knocked up, but haven't yet tested. One of the things about
>> them is that they remove knowledge of particular .l and .y files. and
>> instead get the required invocation options from the relevant
>> Makefiles. I think that's a lot better than the horrid hackery we
>> have in the batch files.
>
> Yep - they certainly look ways less messy than what I've created as a
> simple perl version of the batch files.
>
> But I get "Undefined subroutine &main::dirname called at
> src\tools\msvc\pgflex.pl line 36." if I try to build with them.
>
> I'll update my patch to remove my versions once they are fixed and
> commited.


Try attached instead.

The bat wrappers just need to read:

    @echo off
    @perl src/tools/msvc/pgflex.pl %*

and

    @echo off
    @perl src/tools/msvc/pgbison.pl %*

cheers

andrew




Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [BUGS] COPY .... WITH (FORMAT binary) causes syntax error at or near "binary"
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Range Types, constructors, and the type system