Re: Update - Mailing list pgadmin-hackers

From Andreas Pflug
Subject Re: Update
Date
Msg-id 3F82B9C3.1080008@pse-consulting.de
Whole thread Raw
In response to Re: Update  ("Adam H. Pendleton" <fmonkey@fmonkey.net>)
List 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 by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: wxWindows RPMs
Next
From: "Hiroshi Saito"
Date:
Subject: Re: wxWindows RPMs