Re: Makefiles don't seem to remember to rebuild everything anymore

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Makefiles don't seem to remember to rebuild everything anymore
Дата
Msg-id 27114.1355764519@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Makefiles don't seem to remember to rebuild everything anymore  (Cédric Villemain <cedric@2ndquadrant.com>)
Список pgsql-hackers
Cédric Villemain <cedric@2ndquadrant.com> writes:
> Le lundi 17 d�cembre 2012 17:42:04, Tom Lane a �crit :
>> Well, it's behaving as documented, but what this means is we need to be
>> very wary of what contexts we can use .SECONDARY in.  I'd just as soon
>> try to avoid using it at all --- my example with hand-edited gram.c
>> points out that even rather short dependency chains can have unexpected
>> misbehaviors if the intermediate files are marked .SECONDARY.

> "touch gram.c" then "make" will build again the affected files.

Yes ... but still with the modified contents of gram.c, so this doesn't
solve the problem I described.  I want make to regenerate the file in
question, not (only) its derived files.
        regards, tom lane



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

Предыдущее
От: Pavan Deolasee
Дата:
Сообщение: Re: Makefiles don't seem to remember to rebuild everything anymore
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Error restoring from a base backup taken from standby