libpq.rc make rule

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема libpq.rc make rule
Дата
Msg-id 200802252021.00535.peter_e@gmx.net
обсуждение исходный текст
Ответы Re: libpq.rc make rule  ("Dave Page" <dpage@pgadmin.org>)
Список pgsql-hackers
The libpq.rc make rule says:

# depend on Makefile.global to force rebuild on re-run of configure
$(srcdir)/libpq.rc: libpq.rc.in $(top_builddir)/src/Makefile.global       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
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Mathias Hasselmann
Дата:
Сообщение: Re: [PATCHES] Avahi support for Postgresql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] Avahi support for Postgresql