Re: cvsignore

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: cvsignore
Дата
Msg-id 4105.1074972098@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: cvsignore  (Dennis Bjorklund <db@zigo.dhs.org>)
Список pgsql-hackers
Dennis Bjorklund <db@zigo.dhs.org> writes:
> On Sat, 24 Jan 2004, Peter Eisentraut wrote:
>> I order to achieve that you would have to add *all* built files to 
>> cvsignore.  Surely you don't plan that?

> Yes, I did plan that.

This would be quite unacceptable IMHO.  A cvs run *ought* to complain
if there is any cruft in the tree.  The .cvsignore files that exist
are there to prevent complaints about files that are built but are
included in distribution tarballs (and so are not removed by make
distclean).  If we did what you suggest, we'd miss bugs in "make clean"
rules that left cruft in the distribution.

FWIW, I find that by far the safest procedure for working with CVS tip
is to do a make distclean before any cvs update, so I'm not convinced
that what you want is worth expending effort towards anyway.  Rebuilding
after every update costs machine time, but seldom any of my time (I can
generally overlap it with other useful activities, eg reading mail).
Not rebuilding from scratch works most of the time, but when it doesn't
work you will waste large amounts of your own time trying to figure out
mysterious bugs that aren't really bugs but just build inconsistencies.
I've been there and done that enough times that I don't plan to do it
anymore.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: cvsignore
Следующее
От: Tom Lane
Дата:
Сообщение: Re: vpath build (was Re: cvsignore)