help-make
[Top][All Lists]
Advanced

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

Re: directory search fails!


From: Paul Smith
Subject: Re: directory search fails!
Date: Sun, 26 Sep 2010 09:26:57 -0400

On Sat, 2010-09-25 at 13:26 +0200, Eli Zaretskii wrote:
> Making a PDF is not simple where I'm typing this.  Here's the Info
> (plain text) version, though:

The concern I have about this is that it describes directory search as
an operation that happens on prerequisites, but that's not how make
works.  Make does the directory search on targets.  When make wants to
build a target T, it checks to see if the path described in the makefile
exists.  If it does then that path is used.  If it doesn't then the
target is looked for via directory search.  If the target is found via
directory search and does not need to be rebuilt, then the found path is
used as the target anywhere else that it's referenced (such as where
that target is used as the prerequisite of another).

I understand that you're trying to make the explanation clearer and
maybe it's OK to change things around for simpler understanding, as long
as it's a distinction without a difference... but I'm not sure.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          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




reply via email to

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