Skip site navigation (1) Skip section navigation (2)

libpq.rc make rule

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: libpq.rc make rule
Date: 2008-02-25 19:21:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
The libpq.rc make rule says:

# depend on to force rebuild on re-run of configure
$(srcdir)/libpq.rc: $(top_builddir)/src/
        sed -e 's/\(VERSION.*\),0 *$$/\1,'`date '+%y%j' | sed 's/^0*//'`'/' < $< > $@

However, libpq.rc is also included in the distribution, so whenever a
distribution is built, the distributed file would be overwritten, which is
not a nice thing to do.

Could someone explain what the requirement behind this is?  The '+%y%j'
changes every day.  Why is libpq the only subsystem that needs a daily
version number?

Peter Eisentraut


pgsql-hackers by date

Next:From: Mathias HasselmannDate: 2008-02-25 19:24:08
Subject: Re: Avahi support for Postgresql
Previous:From: Mathias HasselmannDate: 2008-02-25 19:17:00
Subject: Re: [PATCHES] Avahi support for Postgresql

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group