summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2008-08-01 14:19:10 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2008-08-01 14:19:10 +0000
commit266a89954ca01506d55cea7983390f3863a6654b (patch)
treeae944181ccfe06c30e727a1b5c0314f06da8dd72 /usr.bin/make
parentce9f5c98dbb6b03db6fae8ebe5adf309e12b3d84 (diff)
Document the MAKEFILE variable as unreliable.
ok jmc espie
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/make.115
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1
index c2915ff3e33..91a6e8073b9 100644
--- a/usr.bin/make/make.1
+++ b/usr.bin/make/make.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: make.1,v 1.79 2008/03/03 23:04:33 jmc Exp $
+.\" $OpenBSD: make.1,v 1.80 2008/08/01 14:19:09 bluhm Exp $
.\" $OpenPackages$
.\" $NetBSD: make.1,v 1.18 1997/03/10 21:19:53 christos Exp $
.\"
@@ -31,7 +31,7 @@
.\"
.\" from: @(#)make.1 8.4 (Berkeley) 3/19/94
.\"
-.Dd $Mdocdate: March 3 2008 $
+.Dd $Mdocdate: August 1 2008 $
.Dt MAKE 1
.Os
.Sh NAME
@@ -665,6 +665,11 @@ Name of the machine architecture
was compiled for, obtained from the
.Ev MACHINE_ARCH
environment variable, or defined at compilation time.
+.It Va MAKEFILE
+Possibly the file name of the last makefile that has been read.
+It should not be used; see the
+.Sx BUGS
+section below.
.El
.Pp
Variable expansion may be modified to select or modify each word of the
@@ -1446,3 +1451,9 @@ only limits the number of concurrent makes it knows about.
During recursive invocations, each level will multiply the number
of processes by
.Ar n .
+.Pp
+The
+.Va MAKEFILE
+variable cannot be used reliably.
+It is a compatibility feature and may get set to the last makefile
+specified, as it is set by System V make.