bug-make
[Top][All Lists]
Advanced

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

[bug #28983] forcing a target matching a pattern rule shadows the rule's


From: Ilguiz Latypov
Subject: [bug #28983] forcing a target matching a pattern rule shadows the rule's actions
Date: Fri, 07 May 2010 18:08:58 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11pre) Gecko/20100506 Shiretoko/3.5.11pre

Follow-up Comment #4, bug #28983 (project make):

The GNU make manual both supports and defeats Matt's statement.

  "A phony target is one that is not really the name of a file."

  [..]

  "Once this is done, `make clean' will run the commands regardless of
whether there is a file named clean."

It would be a nuisance for the builds of pre-requisites of .PHONY to depend
on existence of the files by the same name.

Introducing an intermediate dependency can only reduce but not completely
eliminate the possibility of a name clash.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?28983>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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