diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2012-04-11 18:27:31 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2012-04-11 18:27:31 +0000 |
commit | 519ef5db14c7fa97a982299147d82e71803016ce (patch) | |
tree | 134756bca59c352f8e39c3c8ad343822e62358f2 /usr.bin/make/make.1 | |
parent | f74693e121b2c57b942f04d93f528facfe9bca5b (diff) |
make has had heuristics to avoid parallel make recursion.
Sometimes they mess up, so add .CHEAP/.EXPENSIVE to explicitly tell make
'hey this is not THAT bad' or 'worse than you think'.
agreed by guenther@, millert@ (and some tweaks)
Diffstat (limited to 'usr.bin/make/make.1')
-rw-r--r-- | usr.bin/make/make.1 | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1 index a438994b4f1..5b031fce343 100644 --- a/usr.bin/make/make.1 +++ b/usr.bin/make/make.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: make.1,v 1.92 2011/05/02 11:14:11 jmc Exp $ +.\" $OpenBSD: make.1,v 1.93 2012/04/11 18:27:30 espie Exp $ .\" $NetBSD: make.1,v 1.18 1997/03/10 21:19:53 christos Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" from: @(#)make.1 8.4 (Berkeley) 3/19/94 .\" -.Dd $Mdocdate: May 2 2011 $ +.Dd $Mdocdate: April 11 2012 $ .Dt MAKE 1 .Os .Sh NAME @@ -1184,6 +1184,12 @@ the only target specified. .It Ic .BEGIN Any command lines attached to this target are executed before anything else is done. +.It Ic .CHEAP +In parallel mode, don't scan the commands for +.Nm , +let recursive +.Fl j +behavior apply. .It Ic .DEFAULT This is sort of a .Ic .USE @@ -1201,6 +1207,11 @@ to the target's own name. .It Ic .END Any command lines attached to this target are executed after everything else is done. +.It Ic .EXPENSIVE +In parallel mode, don't scan the commands for +.Nm , +assume target is recursive and don't start other jobs until +it is finished. .It Ic .IGNORE Mark each of the sources with the .Ic .IGNORE |