Re: [pgsql-hackers-win32] Patch to add version numbers to - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [pgsql-hackers-win32] Patch to add version numbers to
Date
Msg-id 200412170037.iBH0bbH07136@candle.pha.pa.us
Whole thread Raw
In response to Re: [pgsql-hackers-win32] Patch to add version numbers to libpq.rc  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [pgsql-hackers-win32] Patch to add version numbers to libpq.rc  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > One difficulty was generating a new version of libpq.rc at the proper
> > time.  I added a prepdist rule just like *.def.  I also added code so
> > every time you do a 'make clean' or distclean it does a 'touch' on
> > libpq.rc.in so libpq.rc is rebuilt on the next compile.  That seemed
> > like the cleanest solution.
>
> ... except CVS will not like it at all.  Why don't you just remove the
> libpq.rc file instead?

I am going to remove libpq.rc from CVS because it is now a derived file
from libpq.rc.in.  I don't remove via 'clean' because if someone wants
to build VC or BCC and Win32 with the same tarball then once they do a
'clean' they can't do a VC or BCC compile anymore.

Does that answer your question?

--
  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-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [pgsql-hackers-win32] Patch to add version numbers to libpq.rc
Next
From: Tom Lane
Date:
Subject: Re: [pgsql-hackers-win32] Patch to add version numbers to libpq.rc