version 1.97, 2004/01/27 01:38:01 |
version 1.98, 2004/02/03 19:25:29 |
Line 188 Continue processing after errors are enc |
|
Line 188 Continue processing after errors are enc |
|
that do not depend on the target whose creation caused the error. |
that do not depend on the target whose creation caused the error. |
.It Fl m Ar directory |
.It Fl m Ar directory |
Specify a directory in which to search for sys.mk and makefiles included |
Specify a directory in which to search for sys.mk and makefiles included |
via the \*[Lt]...\*[Gt] style. |
via the |
Multiple directories can be added to form a search path. |
.Aq Ar file |
|
style include statement. |
|
The |
|
.Fl m |
|
option can be used multiple times to form a search path. |
This path will override the default system include path: /usr/share/mk. |
This path will override the default system include path: /usr/share/mk. |
Furthermore the system include path will be appended to the search path used |
Furthermore the system include path will be appended to the search path used |
for "..."-style inclusions (see the |
for |
|
.Pf \*q Ar file Ns \*q |
|
style include statements (see the |
.Fl I |
.Fl I |
option). |
option). |
|
.Pp |
|
If a file or directory name in the |
|
.Fl m |
|
argument (or the |
|
.Ev MAKESYSPATH |
|
environment variable) starts with the string ".../" then |
|
.Nm |
|
will search for the specified file or directory named in the remaining part |
|
of the argument string. The search starts with the current directory of |
|
the Makefile and then works upward towards the root of the filesystem. |
|
If the search is successful, then the resulting directory replaces the |
|
".../" specification in the |
|
.Fl m |
|
argument. If used, this feature allows |
|
.Nm |
|
to easily search in the current source tree for customized sys.mk files |
|
(e.g. by using ".../mk/sys.mk" as an argument). |
.It Fl n |
.It Fl n |
Display the commands that would have been executed, but do not |
Display the commands that would have been executed, but do not |
actually execute them unless the target depends on the .MAKE special |
actually execute them unless the target depends on the .MAKE special |