octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eliminating more recursive make invocations


From: John W. Eaton
Subject: Re: Eliminating more recursive make invocations
Date: Wed, 15 Jul 2015 17:03:17 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0

On 07/13/2015 09:26 AM, John W. Eaton wrote:

We could also use move-if-change more, but that introduces its own
problems because then targets end up being always out of date, so you
perform the generation step anyway, then throw away the result.  That
isn't bad if the generation steps are fast, but it's annoying when they
are not.

I checked in a changeset that uses move-if-change in many more rules. This seems to help to limit the damage if you touch the Makefile.am file or one of the module.mk files.

It does have the effect I described previously, but for now that doesn't seem too bad. Certainly it is not as bad as remaking everything just because the Makefile is touched for some reason unrelated to most (or all) of the generated source files.

jwe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]