version 1.98, 2004/02/03 19:25:29 |
version 1.99, 2004/02/04 00:37:45 |
|
|
.\" |
.\" |
.\" from: @(#)make.1 8.4 (Berkeley) 3/19/94 |
.\" from: @(#)make.1 8.4 (Berkeley) 3/19/94 |
.\" |
.\" |
.Dd January 27, 2004 |
.Dd February 3, 2004 |
.Dt MAKE 1 |
.Dt MAKE 1 |
.Os |
.Os |
.Sh NAME |
.Sh NAME |
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 |
via the |
.Aq Ar file |
.Ao Ar file Ac Ns -style |
style include statement. |
include statement. |
The |
The |
.Fl m |
.Fl m |
option can be used multiple times to form a search path. |
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 |
for |
.Pf \*q Ar file Ns \*q |
.Qo Ar file Qc Ns -style |
style include statements (see the |
include statements (see the |
.Fl I |
.Fl I |
option). |
option). |
.Pp |
.Pp |
If a file or directory name in the |
If a file or directory name in the |
.Fl m |
.Fl m |
argument (or the |
argument (or the |
.Ev MAKESYSPATH |
.Ev MAKESYSPATH |
environment variable) starts with the string ".../" then |
environment variable) starts with the string |
.Nm |
.Qq \&.../ |
will search for the specified file or directory named in the remaining part |
then |
of the argument string. The search starts with the current directory of |
.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. |
the Makefile and then works upward towards the root of the filesystem. |
If the search is successful, then the resulting directory replaces the |
If the search is successful, then the resulting directory replaces the |
".../" specification in the |
.Qq \&.../ |
|
specification in the |
.Fl m |
.Fl m |
argument. If used, this feature allows |
argument. |
|
If used, this feature allows |
.Nm |
.Nm |
to easily search in the current source tree for customized sys.mk files |
to easily search in the current source tree for customized sys.mk files |
(e.g. by using ".../mk/sys.mk" as an argument). |
(e.g., by using |
|
.Qq \&.../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 |