This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Ping^2: RFA (build): Avoid circular dependency
Quoting Paolo Bonzini <bonzini@gnu.org>:
I think your patch can be okay if you leave TEXI_GCCINT_FILES aside,
and put an additional dependency
@MAINT@ all: new-tm.texi
That has some other drawbacks - you could end up using inconsistent / out-of
date documentation if you haven't explicitly specified maintainer mode.
I think the solution is to have the .info files depend in the stamp file,
not on tm.texi or new-tm.texi.
In fact, I think I already did this before, in version that reduced
unnecessary rebuilds by paying more attention to stamp file usage -
I just thought it'll be easier to review these Makefile changes in
smaller increments.
But if a partial fix involves another regression, it's probably better to
fix the entire thing. I'll go digging for what I had there.