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



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