INDEX user-friendliness and SMP speed-up patch
Kris Kennaway
kris at obsecurity.org
Mon Mar 15 05:08:59 PST 2004
On Mon, Mar 15, 2004 at 02:04:15PM +0100, Oliver Eikemeier wrote:
> .PHONY [...] Targets with this attribute are always considered to be
> out of date.
>
> basically
>
> .PHONY: describe
>
> means that make doesn't look for a file named `describe' first. Try
>
> touch describe; make describe
>
> in any port with and without adding `.PHONY: describe' to the Makefile.
> You can get some more info with
>
> make -d m describe
>
> I know that the search path in ports make is usually very small, so it is
> unlikely that you run into it. OTOH, go in any category directory and do
>
> mkdir -p describe; make describe
>
> with and without adding `.PHONY: describe' to bsd.port.subdir.mk.
>
> IMHO declaring targets as PHONY makes sense, even though these are border
> cases in the ports tree. I'll add that to PR 64233, since `extract patch
> configure build install package' are really meant to be stand-alone targets.
Thanks for the explanation; yes, that sounds like a good idea. We
already bumped into this once already with the port formerly known as
'clean' :-)
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040315/9b6578b0/attachment.bin
More information about the freebsd-ports
mailing list