Subject: bin/15178: make(1) looks for `.include' files in wrong places
To: None <email@example.com>
From: Paul Kranenburg <firstname.lastname@example.org>
Date: 01/08/2002 14:02:52
>Synopsis: make(1) looks for `.include' files in wrong places
>Arrival-Date: Tue Jan 08 05:04:00 PST 2002
>Originator: Paul Kranenburg
>Release: NetBSD-current Jan 2002
make(1) goofs when constructing file system paths to search for
makefiles to be included using the `.include' syntax.
- when object dirs are in use or nested includes nested
includes are being processed involving files not
residing in .CURDIR, make(1) constructs path by
prepending .CURDIR twice!
- inclusion of an absolute path name (e.g. /etc/mk.conf)
still causes it to be searched first relative to all
include directories make knows about.
run `make -dA' on any Makefile using .include.
Yet I note that these particular problems (but not those mentioned
in PR15163) appeared with revision 1.27 of src/usr.bin/make/dir.c