| From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
|---|---|
| To: | "Adam H(dot) Pendleton" <fmonkey(at)fmonkey(dot)net> |
| Cc: | Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
| Subject: | Re: Update |
| Date: | 2003-10-07 13:04:03 |
| Message-ID: | 3F82B9C3.1080008@pse-consulting.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Hiroshi Saito | 2003-10-07 13:09:29 | Re: wxWindows RPMs |
| Previous Message | Dave Page | 2003-10-07 12:54:28 | Re: wxWindows RPMs |