Subject: bin/5055: bugs in make.1
To: None <gnats-bugs@gnats.netbsd.org>
From: NAKAJIMA Yoshihiro <nakayosh@kcn.or.jp>
List: netbsd-bugs
Date: 02/24/1998 23:33:42
>Number: 5055
>Category: bin
>Synopsis: bugs in make.1
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 24 06:35:01 1998
>Last-Modified:
>Originator: NAKAJIMA Yoshihiro
>Organization:
>Release: NetBSD-current 98/02/23
>Environment:
System: NetBSD asura 1.3D NetBSD 1.3D (ASURA) #3: Tue Feb 24 21:15:07 JST 1998 nakayosh@asura:/usr/src/sys/arch/i386/compile/ASURA i386
>Description:
make.1 has a cupple of bugs.
(1)
: && Logical AND; of higher precedence than ``''.
It should be:
: && Logical AND; of higher precedence than ``||''.
(2)
: ENVIRONMENT
: make utilizes the following environment variables, if they exist:
: MACHINE, MAKE, MAKEFLAGS, MAKEOBJDIR, and PWD.
`MACHINE_ARCH' is missing.
>How-To-Repeat:
man make
>Fix:
diff -u src/make/make.1.orig src/make/make.1
--- src/make/make.1.orig Sun Oct 19 23:22:10 1997
+++ src/make/make.1 Tue Feb 24 21:28:37 1998
@@ -712,7 +712,7 @@
Logical
.Tn AND ;
of higher precedence than
-.Dq .
+.Dq Ic \&|\&| .
.El
.Pp
As in C,
@@ -985,6 +985,7 @@
.Nm
utilizes the following environment variables, if they exist:
.Ev MACHINE ,
+.Ev MACHINE_ARCH ,
.Ev MAKE ,
.Ev MAKEFLAGS ,
.Ev MAKEOBJDIR ,
>Audit-Trail:
>Unformatted: