Changeset View
Changeset View
Standalone View
Standalone View
contrib/bmake/make.1
Show First 20 Lines • Show All 266 Lines • ▼ Show 20 Lines | |||||
It is more efficient to correct the scripts rather than turn backwards | It is more efficient to correct the scripts rather than turn backwards | ||||
compatibility on. | compatibility on. | ||||
.It Fl k | .It Fl k | ||||
Continue processing after errors are encountered, but only on those targets | Continue processing after errors are encountered, but only on those targets | ||||
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 | ||||
.Ao Ar file Ac Ns -style | .Pf < Ar file Ns > Ns -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 | ||||
.Qo Ar file Qc Ns -style | .Pf \*q Ar file Ns \*q Ns -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 | ||||
▲ Show 20 Lines • Show All 1,337 Lines • ▼ Show 20 Lines | |||||
Makefile inclusion, conditional structures and for loops reminiscent | Makefile inclusion, conditional structures and for loops reminiscent | ||||
of the C programming language are provided in | of the C programming language are provided in | ||||
.Nm . | .Nm . | ||||
All such structures are identified by a line beginning with a single | All such structures are identified by a line beginning with a single | ||||
dot | dot | ||||
.Pq Ql \&. | .Pq Ql \&. | ||||
character. | character. | ||||
Files are included with either | Files are included with either | ||||
.Cm \&.include Aq Ar file | .Cm \&.include Pf < Ar file Ns > | ||||
or | or | ||||
.Cm \&.include Pf \*q Ar file Ns \*q . | .Cm \&.include Pf \*q Ar file Ns \*q . | ||||
Variables between the angle brackets or double quotes are expanded | Variables between the angle brackets or double quotes are expanded | ||||
to form the file name. | to form the file name. | ||||
If angle brackets are used, the included makefile is expected to be in | If angle brackets are used, the included makefile is expected to be in | ||||
the system makefile directory. | the system makefile directory. | ||||
If double quotes are used, the including makefile's directory and any | If double quotes are used, the including makefile's directory and any | ||||
directories specified using the | directories specified using the | ||||
▲ Show 20 Lines • Show All 781 Lines • Show Last 20 Lines |