usr.bin/make Use .Nm without args and remove unnessidary Ns macros in make.1
Max Okumoto
okumoto at ucsd.edu
Thu Dec 2 05:14:27 PST 2004
The `.Nm' macro is used for the document title or subject name. It
has the peculiarity of remembering the first argument it was called
with, which should always be the subject name of the page. When
called without arguments, `.Nm' regurgitates this initial name for
the sole purpose of making less work for the author.
Max
diff -ru dfly-src/make/make.1 fbsd-src/make/make.1
--- make.1.orig Thu Dec 2 05:06:33 2004
+++ make.1 Thu Dec 2 05:06:31 2004
@@ -539,8 +539,9 @@
.Nm Ns 's
command line.
.Pp
-.Nm Make
-sets
+The
+.Nm
+utility sets
.Va .OBJDIR
to the canonical path given by
.Xr getcwd 3 .
@@ -696,7 +697,7 @@
.It Cm Q
Quotes every shell meta-character in the variable, so that it can be passed
safely through recursive invocations of
-.Nm Ns .
+.Nm .
.It Cm R
Replaces each word in the variable with everything but its suffix.
.Sm off
@@ -772,7 +773,7 @@
.Sh DIRECTIVES, CONDITIONALS, AND FOR LOOPS
Directives, conditionals, and for loops reminiscent
of the C programming language are provided in
-.Nm Ns .
+.Nm .
All such structures are identified by a line beginning with a single
dot
.Pq Ql \&.
@@ -1234,7 +1235,7 @@
command in the file.
.It Ic .SUFFIXES
Each source specifies a suffix to
-.Nm Ns .
+.Nm .
If no sources are specified, any previous specified suffices are deleted.
.El
.Sh COMPATIBILITY
More information about the Submit
mailing list