Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 05:08:52 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Oliver Eikemeier <eikemeier@fillmore-labs.com>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: INDEX user-friendliness and SMP speed-up patch
Message-ID:  <20040315130852.GB25463@xor.obsecurity.org>
In-Reply-To: <4055A9CF.1090805@fillmore-labs.com>
References:  <20040315103649.GA13718@xor.obsecurity.org> <40558B72.3090409@fillmore-labs.com> <20040315122621.GA24383@xor.obsecurity.org> <4055A9CF.1090805@fillmore-labs.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--U+BazGySraz5kW0T
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 15, 2004 at 02:04:15PM +0100, Oliver Eikemeier wrote:

>  .PHONY      [...] Targets with this attribute are always considered to b=
e=20
>  out of date.
>=20
> basically
>=20
>  .PHONY: describe
>=20
> means that make doesn't look for a file named `describe' first. Try
>=20
>  touch describe; make describe
>=20
> in any port with and without adding `.PHONY: describe' to the Makefile.
> You can get some more info with
>=20
>  make -d m describe
>=20
> 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
>=20
>  mkdir -p describe; make describe
>=20
> with and without adding `.PHONY: describe' to bsd.port.subdir.mk.
>=20
> IMHO declaring targets as PHONY makes sense, even though these are border=
=20
> cases in the ports tree. I'll add that to PR 64233, since `extract patch=
=20
> configure build install package' are really meant to be stand-alone targe=
ts.

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

--U+BazGySraz5kW0T
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAVarkWry0BWjoQKURAmk0AKCKmy+fjd0FF64ZkvZ+jxb9eOYUiACglqFP
MyOnS8j2k4vnbNWWx5UrfOI=
=BJM1
-----END PGP SIGNATURE-----

--U+BazGySraz5kW0T--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040315130852.GB25463>