Deleted Added
sdiff udiff text old ( 255253 ) new ( 261212 )
full compact
1.\" $NetBSD: make.1,v 1.226 2013/11/07 18:50:46 dholland Exp $
2.\"
3.\" Copyright (c) 1990, 1993
4.\" The Regents of the University of California. All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright

--- 14 unchanged lines hidden (view full) ---

24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28.\" SUCH DAMAGE.
29.\"
30.\" from: @(#)make.1 8.4 (Berkeley) 3/19/94
31.\"
32.Dd October 25, 2013
33.Dt MAKE 1
34.Os
35.Sh NAME
36.Nm bmake
37.Nd maintain program dependencies
38.Sh SYNOPSIS
39.Nm
40.Op Fl BeikNnqrstWwX

--- 699 unchanged lines hidden (view full) ---

740If
741.Nm
742is run with
743.Ar j
744then output for each target is prefixed with a token
745.Ql --- target ---
746the first part of which can be controlled via
747.Va .MAKE.JOB.PREFIX .
748If
749.Va .MAKE.JOB.PREFIX
750is empty, no token is printed.
751.br
752For example:
753.Li .MAKE.JOB.PREFIX=${.newline}---${.MAKE:T}[${.MAKE.PID}]
754would produce tokens like
755.Ql ---make[1234] target ---
756making it easier to track the degree of parallelism being achieved.

--- 304 unchanged lines hidden (view full) ---

1061.Pf ( Ql * ,
1062.Ql \&? ,
1063and
1064.Ql Oo Oc )
1065may
1066be used.
1067The wildcard characters may be escaped with a backslash
1068.Pq Ql \e .
1069As a consequence of the way values are split into words, matched,
1070and then joined, a construct like
1071.Dl ${VAR:M*}
1072will normalise the inter-word spacing, removing all leading and
1073trailing space, and converting multiple consecutive spaces
1074to single spaces.
1075.
1076.It Cm \&:N Ns Ar pattern
1077This is identical to
1078.Ql Cm \&:M ,
1079but selects all words which do not match
1080.Ar pattern .
1081.It Cm \&:O
1082Order every word in variable alphabetically.
1083To sort words in

--- 127 unchanged lines hidden (view full) ---

1211.Sm off
1212.It Cm \&:C No \&/ Ar pattern No \&/ Ar replacement No \&/ Op Cm 1gW
1213.Sm on
1214The
1215.Cm \&:C
1216modifier is just like the
1217.Cm \&:S
1218modifier except that the old and new strings, instead of being
1219simple strings, are an extended regular expression (see
1220.Xr regex 3 )
1221string
1222.Ar pattern
1223and an
1224.Xr ed 1 Ns \-style
1225string
1226.Ar replacement .
1227Normally, the first occurrence of the pattern

--- 525 unchanged lines hidden (view full) ---

1753Mark all sources of this target as being up-to-date.
1754.It Ic .MAKE
1755Execute the commands associated with this target even if the
1756.Fl n
1757or
1758.Fl t
1759options were specified.
1760Normally used to mark recursive
1761.Nm Ns s .
1762.It Ic .META
1763Create a meta file for the target, even if it is flagged as
1764.Ic .PHONY ,
1765.Ic .MAKE ,
1766or
1767.Ic .SPECIAL .
1768Usage in conjunction with
1769.Ic .MAKE

--- 389 unchanged lines hidden ---