| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: bmake.1,v 1.7 2010/09/07 14:28:00 joerg Exp $ | | 1 | .\" $NetBSD: bmake.1,v 1.8 2010/09/07 14:41:39 joerg Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1990, 1993 | | 3 | .\" Copyright (c) 1990, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | | 4 | .\" The Regents of the University of California. All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" 3. Neither the name of the University nor the names of its contributors | | 14 | .\" 3. Neither the name of the University nor the names of its contributors |
| @@ -20,27 +20,27 @@ | | | @@ -20,27 +20,27 @@ |
20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | | 20 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | | 21 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE |
22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | | 22 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | | 23 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
24 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | | 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 | | 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 | | 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 | | 27 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
28 | .\" SUCH DAMAGE. | | 28 | .\" SUCH DAMAGE. |
29 | .\" | | 29 | .\" |
30 | .\" from: @(#)make.1 8.4 (Berkeley) 3/19/94 | | 30 | .\" from: @(#)make.1 8.4 (Berkeley) 3/19/94 |
31 | .\" | | 31 | .\" |
32 | .Dd June 30, 2010 | | 32 | .Dd June 30, 2010 |
33 | .Dt MAKE 1 | | 33 | .Dt BMAKE 1 |
34 | .Os | | 34 | .Os |
35 | .Sh NAME | | 35 | .Sh NAME |
36 | .Nm bmake | | 36 | .Nm bmake |
37 | .Nd maintain program dependencies | | 37 | .Nd maintain program dependencies |
38 | .Sh SYNOPSIS | | 38 | .Sh SYNOPSIS |
39 | .Nm | | 39 | .Nm |
40 | .Op Fl BeikNnqrstWX | | 40 | .Op Fl BeikNnqrstWX |
41 | .Bk -words | | 41 | .Bk -words |
42 | .Op Fl C Ar directory | | 42 | .Op Fl C Ar directory |
43 | .Ek | | 43 | .Ek |
44 | .Bk -words | | 44 | .Bk -words |
45 | .Op Fl D Ar variable | | 45 | .Op Fl D Ar variable |
46 | .Ek | | 46 | .Ek |
| @@ -1919,17 +1919,32 @@ however the special variables, variable | | | @@ -1919,17 +1919,32 @@ however the special variables, variable |
1919 | The way that parallel makes are scheduled changed in | | 1919 | The way that parallel makes are scheduled changed in |
1920 | .Nx 4.0 | | 1920 | .Nx 4.0 |
1921 | so that .ORDER and .WAIT apply recursively to the dependant nodes. | | 1921 | so that .ORDER and .WAIT apply recursively to the dependant nodes. |
1922 | The algorithms used may change again in the future. | | 1922 | The algorithms used may change again in the future. |
1923 | .Pp | | 1923 | .Pp |
1924 | The way that .for loop variables are substituted changed after | | 1924 | The way that .for loop variables are substituted changed after |
1925 | .Nx 5.0 | | 1925 | .Nx 5.0 |
1926 | so that they still appear to be variable expansions. | | 1926 | so that they still appear to be variable expansions. |
1927 | In particular this stops them being treated as syntax, and removes some | | 1927 | In particular this stops them being treated as syntax, and removes some |
1928 | obscure problems using them in .if statements. | | 1928 | obscure problems using them in .if statements. |
1929 | .Sh SEE ALSO | | 1929 | .Sh SEE ALSO |
1930 | .Xr mkdep 1 | | 1930 | .Xr mkdep 1 |
1931 | .Sh HISTORY | | 1931 | .Sh HISTORY |
| | | 1932 | A |
| | | 1933 | .Nm |
| | | 1934 | command appeared in |
| | | 1935 | .At v7 . |
1932 | .Nm | | 1936 | .Nm |
1933 | is derived from NetBSD's | | 1937 | is derived from NetBSD's |
1934 | .Xr make 1 . | | 1938 | .Xr make 1 . |
1935 | It uses autoconf to facilitate portability to other platforms. | | 1939 | It uses autoconf to facilitate portability to other platforms. |
| | | 1940 | .Sh BUGS |
| | | 1941 | The |
| | | 1942 | .Nm |
| | | 1943 | syntax is difficult to parse without actually acting of the data. |
| | | 1944 | For instance finding the end of a variable use should involve scanning each |
| | | 1945 | the modifiers using the correct terminator for each field. |
| | | 1946 | In many places |
| | | 1947 | .Nm |
| | | 1948 | just counts {} and () in order to find the end of a variable expansion. |
| | | 1949 | .Pp |
| | | 1950 | There is no way of escaping a space character in a filename. |