[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #16958] Marking .PHONY dependencies as targets is a regression agai
From: |
Boris Kolpackov |
Subject: |
[bug #16958] Marking .PHONY dependencies as targets is a regression against 3.80 |
Date: |
Wed, 28 Jun 2006 17:32:25 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5) Gecko/20050106 Debian/1.7.5-1 |
Follow-up Comment #1, bug #16958 (project make):
Prerequisites of the .PHONY special target are marked as targets because they
are effectively targets. For example, if you have an empty Makefile and say
$ make all
you get:
make: *** No rule to make target `all'. Stop.
If, however, you have this in your makefile
.PHONY: all
then there is no problem building all. Both 3.80 and 3.81 print
make: Nothing to be done for `all'.
I am not saying that we shouldn't fix this regression. I am saying that I
believe the code I added is correct and the problem is elsewhere (most likely
in the code that decides whether to use commands from .DEFAULT or not).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=16958>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/