Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make getcwd lives in 3, not 2. Whitespace fixes.
details: https://anonhg.NetBSD.org/src/rev/f0234e231612
branches: trunk
changeset: 507966:f0234e231612
user: wiz <wiz%NetBSD.org@localhost>
date: Wed Apr 04 09:39:07 2001 +0000
description:
getcwd lives in 3, not 2. Whitespace fixes.
diffstat:
usr.bin/make/make.1 | 44 ++++++++++++++++++++++----------------------
1 files changed, 22 insertions(+), 22 deletions(-)
diffs (145 lines):
diff -r eed529cc8acf -r f0234e231612 usr.bin/make/make.1
--- a/usr.bin/make/make.1 Wed Apr 04 09:38:32 2001 +0000
+++ b/usr.bin/make/make.1 Wed Apr 04 09:39:07 2001 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: make.1,v 1.47 2001/01/14 20:44:27 christos Exp $
+.\" $NetBSD: make.1,v 1.48 2001/04/04 09:39:07 wiz Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -207,7 +207,7 @@
before each command line in the makefile.
.It Fl T Ar tracefile
When used with the
-.Fl j
+.Fl j
flag,
append a trace record to
.Ar tracefile
@@ -490,7 +490,7 @@
normally sets
.Ql Va .CURDIR
to the canonical path given by
-.Xr getcwd 2 .
+.Xr getcwd 3 .
However, if the environment variable
.Ql Ev PWD
is set and gives a path to the current directory, then
@@ -660,17 +660,17 @@
to be replaced in
.Ar new_string
.It Cm @ Ar temp Cm @ Xo
-.No Ar string Cm @
+.No Ar string Cm @
.Xc
This is the loop expansion mechanism from the OSF Development
-Environment (ODE) make. Unlike
-.Cm \&.for
+Environment (ODE) make. Unlike
+.Cm \&.for
loops expansion occurs at the time of
reference. Assign
.Ar temp
to each word in the variable and evaluate
.Ar string .
-The ODE convention is that
+The ODE convention is that
.Ar temp
should start and end with a period. For example.
.Dl ${LINKS:@.LINK.@${LN} ${TARGET} ${.LINK.}@}
@@ -698,16 +698,16 @@
If the variable is non-empty it is run as a command and the output
becomes the new value.
.It Cm \&:= Ar str
-The variable is assigned the value
+The variable is assigned the value
.Ar str
-after substitution. This modifier and its variations are useful in
-obscure situations such as wanting to apply modifiers to
+after substitution. This modifier and its variations are useful in
+obscure situations such as wanting to apply modifiers to
.Cm \&.for
-loop iteration variables which won't work due to the way
+loop iteration variables which won't work due to the way
.Cm \&.for
loops are implemented. These assignment modifiers always expand to
nothing, so if appearing in a rule line by themselves should be
-preceded with something to keep
+preceded with something to keep
.Nm
happy. As in:
.Bd -literal
@@ -722,9 +722,9 @@
.Cm \&:
helps avoid false matches with the
.At V
-style
+style
.Cm \&=
-modifier and since substitution always occurs the
+modifier and since substitution always occurs the
.Cm \&:=
form is vaguely appropriate.
.It Cm \&:?= Ar str
@@ -732,11 +732,11 @@
.Cm \&:=
but only if the variable does not already have a value.
.It Cm \&:+= Ar str
-Append
+Append
.Ar str
to the variable.
.It Cm \&:!= Ar cmd
-Assign the output of
+Assign the output of
.Ar cmd
to the variable.
.El
@@ -961,7 +961,7 @@
.Bl -tag -width Ds
.It Xo
.Ic \&.for
-.Ar variable
+.Ar variable
.Op Ar variable ...
.Ic in
.Ar expression
@@ -975,7 +975,7 @@
.El
After the for
.Ic expression
-is evaluated, it is split into words. On each iteration of the loop,
+is evaluated, it is split into words. On each iteration of the loop,
one word is taken and assigned to each
.Ic variable ,
in order, and these
@@ -998,7 +998,7 @@
as if they all were preceded by a dash
.Pq Ql \- .
.It Ic .MADE
-Mark all sources of this target as being up-to-date.
+Mark all sources of this target as being up-to-date.
.It Ic .MAKE
Execute the commands associated with this target even if the
.Fl n
@@ -1168,17 +1168,17 @@
.Ev MAKEOBJDIRPREFIX
is set, then
.Nm
-will
+will
.Xr chdir 2
to ${MAKEOBJDIRPREFIX}${.CURDIR} if it exists.
Otherwise if
.Ev MAKEOBJDIR
and the named directory exists
.Nm
-will
+will
.Xr chdir 2
to it.
-These actions are taken before any makefiles are read which is why they
+These actions are taken before any makefiles are read which is why they
need to be set in the environment.
.Sh FILES
.Bl -tag -width /usr/share/mk -compact
Home |
Main Index |
Thread Index |
Old Index