[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] [svn-commits] rizzo: trunk r72700
From:       Russell Bryant <russell () digium ! com>
Date:       2007-06-29 21:56:26
Message-ID: 4685800A.90304 () digium ! com
[Download RAW message or body]

Luigi Rizzo wrote:
> I think the last sentence in the above manpage is wrong and the two things
> are actually different (in fact, if you try, they do behave differently
> if the target is a real file). If you read the .PHONY page
> 
> http://www.gnu.org/software/make/manual/html_node/Phony-Targets.html#Phony-Targets
> 
> it says that .PHONY targets should not be real files, and i bet that internally
> gmake uses this assumption to imply that the target is not just _possibly_ out
> of date, but it _must_ be rebuilt.

Ah, that makes sense.  I'm glad I understand that now.  So, it looks
like what you have done is definitely the right approach.

> Anyways, FORCE might be a better name than CHECK_SUBDIR for the fake target.

It doesn't really matter to me.  CHECK_SUBDIR seems to be more clear as
to what it is for in this case.

-- 
Russell Bryant
Software Engineer
Digium, Inc.

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic