On Tuesday 21 June 2011, Ralf Wildenhues wrote:
> What's more: have you tried this patch on a nontrivial source tree
> (where regenerating takes more than a second or so) with a few non-GNU
> makes and GNU make?  I kinda fear that it can cause an endless regen loop.
>
It doesn't I think.  See the attached test (which I'd like to commit in
a follow-up patch, to be merged into maint).  Works with Solaris make,
GNU make, NetBSD make and FreeBSD make.  If that tests doesn't cover the
scenario you have in mind, could you please explain it in more detail, so
that we can write a proper test case for it?

> It might actually be smarter to use some newer BSD make features to
> mark Makefile as prerequisite to rebuild, and ignore other makes.
> But well, this thread doesn't yet contain analysis about the bug in
> question ...
>
I honestly don't understand what isn't clear yet about the bug (which
BTW I see as a limitation rather than a "real" bug).  Could you please
elaborate a bit more on this?

Thanks,
  Stefano

Attachment: remake-subdir-long-time.test
Description: application/shellscript

Reply via email to