This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: making pre-build headers
"John W. Eaton" wrote:
>
> On 31-Oct-2000, Bruce Korb <bkorb@sco.COM> wrote:
>
> | It is ugly. Especially...
>
> Isn't that what the move-if-change script is for?
Its a nice try at the problem, but it doesn't work, for
the reason you noted.
The move-if-change saves the timestamp update so the compile
won't happen again, but it also leaves the header out-of-date
with respect to the sources it depends on. Hence, the
mumble-stamp mumbo-jumbo. The solution requires either
using check sum stamps for dependency analysis, or the
``dont-worry-about-this-dependency'' hint. I really do not
want make rebuilding my generated sources, even if it
does throw it away.