bug-make
[Top][All Lists]
Advanced

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

Re: Simpler example of pathological behavior of directory caching


From: Paul Smith
Subject: Re: Simpler example of pathological behavior of directory caching
Date: Thu, 06 Oct 2016 19:08:37 -0400

On Thu, 2016-10-06 at 10:26 -0700, Kyle Rose wrote:
> This is not a weird or contrived use case: this is wildcard not
> finding targets in a recipe executed after they've been built as
> explicit prerequisites.

I discovered the difference.  If you put the makefile in a different
directory, like this:

      cd $HOME
      cp Makefile /tmp
      make -f /tmp/Makefile

Or if you list it explicitly but disable built-in rules, like this:

     cd $HOME
     make -rf Makefile

then it works as expected.  Otherwise it fails as you see.

Clearly there's a bug here.  I'll look into it.



reply via email to

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