Re: Update

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: Update
Дата
Msg-id 3F82B9C3.1080008@pse-consulting.de
обсуждение исходный текст
Ответ на Re: Update  ("Adam H. Pendleton" <fmonkey@fmonkey.net>)
Список pgadmin-hackers
Adam H. Pendleton wrote:

> Dave Page wrote:
>
>> Say I have some code in a script that looks like:
>>
>> mv pgadmin3.tgz pgadmin3-${VERSION}.tgz
>>
>> When configure runs, it then changes that to:
>>
>> mv pgadmin3.tgz pgadmin3-1.1.0.tgz
>>
>> Rather than change it of course, it could take /script.in/ and create
>> /script/.
>>
>
> Sure, that seems easy enough to do.  The only catch would be that
> configure would probably have to have the version number hard-coded
> into it.


Can't we have this grep/awk-ed from version.h? I just introduced the
macro VERSION_PACKAGE:

grep VERSION_PACKAGE src/include/version.h | awk '{print $3}'


Regards,
Andreas


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

Предыдущее
От: Jean-Michel POURE
Дата:
Сообщение: Re: wxWindows RPMs
Следующее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: wxWindows RPMs