On Wed, 2010-12-22 at 12:13 -0500, Lane Schwartz wrote:
> Expected result of make all: foo.jkl is created, and all other files are
> created then deleted
> Actual result of make all: foo.jkl is created; foo.abc, foo.def, and foo.ghi
> are created; foo.abc and foo.def are deleted; foo.ghi is NOT deleted

It would be helpful if you could find a mail client that doesn't corrupt
your messages (by messing with whitespace etc.) when sending them.

I believe that this is a bug.  Please report this on Savannah.

> Adding the following line does not appear to change make's behavior:
> 
> .INTERMEDIATE: %.ghi

The .INTERMEDIATE target doesn't accept patterns (and nowhere in the
manual does it say it does that I could find), so the above simply
declares the literal filename '%.ghi' to be intermediate.

If you declare foo.ghi explicitly, it does actually work:

    .INTERMEDIATE: foo.ghi

although I agree this shouldn't be necessary.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[email protected]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to