make.1 (261212) | make.1 (268437) |
---|---|
1.\" $NetBSD: make.1,v 1.226 2013/11/07 18:50:46 dholland Exp $ | 1.\" $NetBSD: make.1,v 1.230 2014/02/15 18:55:30 sjg 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 October 25, 2013 | 32.Dd February 14, 2014 |
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 --- 660 unchanged lines hidden (view full) --- 701Makefile parsing, lists only those targets encountered thus far. 702.It Va .CURDIR 703A path to the directory where 704.Nm 705was executed. 706Refer to the description of 707.Ql Ev PWD 708for more details. | 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 --- 660 unchanged lines hidden (view full) --- 701Makefile parsing, lists only those targets encountered thus far. 702.It Va .CURDIR 703A path to the directory where 704.Nm 705was executed. 706Refer to the description of 707.Ql Ev PWD 708for more details. |
709.It Va .INCLUDEDFROMDIR 710The directory of the file this Makefile was included from. 711.It Va .INCLUDEDFROMFILE 712The filename of the file this Makefile was included from. |
|
709.It Ev MAKE 710The name that 711.Nm 712was executed with 713.Pq Va argv[0] . 714For compatibility 715.Nm 716also sets --- 535 unchanged lines hidden (view full) --- 1252(possibly containing embedded white space). 1253Note that 1254.Ql 1 1255and 1256.Ql g 1257are orthogonal; the former specifies whether multiple words are 1258potentially affected, the latter whether multiple substitutions can 1259potentially occur within each affected word. | 713.It Ev MAKE 714The name that 715.Nm 716was executed with 717.Pq Va argv[0] . 718For compatibility 719.Nm 720also sets --- 535 unchanged lines hidden (view full) --- 1256(possibly containing embedded white space). 1257Note that 1258.Ql 1 1259and 1260.Ql g 1261are orthogonal; the former specifies whether multiple words are 1262potentially affected, the latter whether multiple substitutions can 1263potentially occur within each affected word. |
1264.Pp 1265As for the 1266.Cm \&:S 1267modifier, the 1268.Ar pattern 1269and 1270.Ar replacement 1271are subjected to variable expansion before being parsed as 1272regular expressions. |
|
1260.It Cm \&:T 1261Replaces each word in the variable with its last component. 1262.It Cm \&:u 1263Remove adjacent duplicate words (like 1264.Xr uniq 1 ) . 1265.Sm off 1266.It Cm \&:\&? Ar true_string Cm \&: Ar false_string 1267.Sm on --- 897 unchanged lines hidden --- | 1273.It Cm \&:T 1274Replaces each word in the variable with its last component. 1275.It Cm \&:u 1276Remove adjacent duplicate words (like 1277.Xr uniq 1 ) . 1278.Sm off 1279.It Cm \&:\&? Ar true_string Cm \&: Ar false_string 1280.Sm on --- 897 unchanged lines hidden --- |