Deleted Added
full compact
make.1 (255916) make.1 (261212)
1.\" $NetBSD: make.1,v 1.222 2013/08/11 09:53:49 apb Exp $
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.\"
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 August 11, 2013
32.Dd October 25, 2013
33.Dt MAKE 1
34.Os
35.Sh NAME
36.Nm make
37.Nd maintain program dependencies
38.Sh SYNOPSIS
39.Nm
40.Op Fl BeikNnqrstWwX

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

751If
752.Nm
753is run with
754.Ar j
755then output for each target is prefixed with a token
756.Ql --- target ---
757the first part of which can be controlled via
758.Va .MAKE.JOB.PREFIX .
33.Dt MAKE 1
34.Os
35.Sh NAME
36.Nm make
37.Nd maintain program dependencies
38.Sh SYNOPSIS
39.Nm
40.Op Fl BeikNnqrstWwX

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

751If
752.Nm
753is run with
754.Ar j
755then output for each target is prefixed with a token
756.Ql --- target ---
757the first part of which can be controlled via
758.Va .MAKE.JOB.PREFIX .
759If
759If
760.Va .MAKE.JOB.PREFIX
761is empty, no token is printed.
762.br
763For example:
764.Li .MAKE.JOB.PREFIX=${.newline}---${.MAKE:T}[${.MAKE.PID}]
765would produce tokens like
766.Ql ---make[1234] target ---
767making it easier to track the degree of parallelism being achieved.

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

1072.Pf ( Ql * ,
1073.Ql \&? ,
1074and
1075.Ql Oo Oc )
1076may
1077be used.
1078The wildcard characters may be escaped with a backslash
1079.Pq Ql \e .
760.Va .MAKE.JOB.PREFIX
761is empty, no token is printed.
762.br
763For example:
764.Li .MAKE.JOB.PREFIX=${.newline}---${.MAKE:T}[${.MAKE.PID}]
765would produce tokens like
766.Ql ---make[1234] target ---
767making it easier to track the degree of parallelism being achieved.

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

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

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

1215.Sm off
1216.It Cm \&:C No \&/ Ar pattern No \&/ Ar replacement No \&/ Op Cm 1gW
1217.Sm on
1218The
1219.Cm \&:C
1220modifier is just like the
1221.Cm \&:S
1222modifier except that the old and new strings, instead of being
1087.It Cm \&:N Ns Ar pattern
1088This is identical to
1089.Ql Cm \&:M ,
1090but selects all words which do not match
1091.Ar pattern .
1092.It Cm \&:O
1093Order every word in variable alphabetically.
1094To sort words in

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

1222.Sm off
1223.It Cm \&:C No \&/ Ar pattern No \&/ Ar replacement No \&/ Op Cm 1gW
1224.Sm on
1225The
1226.Cm \&:C
1227modifier is just like the
1228.Cm \&:S
1229modifier except that the old and new strings, instead of being
1223simple strings, are a regular expression (see
1230simple strings, are an extended regular expression (see
1224.Xr regex 3 )
1225string
1226.Ar pattern
1227and an
1228.Xr ed 1 Ns \-style
1229string
1230.Ar replacement .
1231Normally, the first occurrence of the pattern

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

1757Mark all sources of this target as being up-to-date.
1758.It Ic .MAKE
1759Execute the commands associated with this target even if the
1760.Fl n
1761or
1762.Fl t
1763options were specified.
1764Normally used to mark recursive
1231.Xr regex 3 )
1232string
1233.Ar pattern
1234and an
1235.Xr ed 1 Ns \-style
1236string
1237.Ar replacement .
1238Normally, the first occurrence of the pattern

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

1764Mark all sources of this target as being up-to-date.
1765.It Ic .MAKE
1766Execute the commands associated with this target even if the
1767.Fl n
1768or
1769.Fl t
1770options were specified.
1771Normally used to mark recursive
1765.Nm Ns 's .
1772.Nm Ns s .
1766.It Ic .META
1767Create a meta file for the target, even if it is flagged as
1768.Ic .PHONY ,
1769.Ic .MAKE ,
1770or
1771.Ic .SPECIAL .
1772Usage in conjunction with
1773.Ic .MAKE

--- 384 unchanged lines hidden ---
1773.It Ic .META
1774Create a meta file for the target, even if it is flagged as
1775.Ic .PHONY ,
1776.Ic .MAKE ,
1777or
1778.Ic .SPECIAL .
1779Usage in conjunction with
1780.Ic .MAKE

--- 384 unchanged lines hidden ---