NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/50176: make(1) prerequisite not assigned to target if target has ./ prefix
The following reply was made to PR bin/50176; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, sdaoden%yandex.com@localhost
Subject: Re: bin/50176: make(1) prerequisite not assigned to target if target
has ./ prefix
Date: Wed, 26 Aug 2015 23:21:10 +0200
On Wed, Aug 26, 2015 at 01:10:02PM +0000, Steffen Nurpmeso wrote:
> | On Wed, Aug 26, 2015 at 11:35:02AM +0000, sdaoden%yandex.com@localhost wrote:
> |>>Fix:
> |> A basename(3) call is missing somewhere.
> |
> | make is not supposed to mangle path names.
>
> Whatever bmake is about to do, ./f and f are the same file and
> should thus be treated likewise, of course, of course.
But they are not the same thing for make. "f" as target is searched
using .PATH, "./" as target is considered a resolved relative path.
Joerg
Home |
Main Index |
Thread Index |
Old Index