summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-04-12 18:00:54 +0000
committerru <ru@FreeBSD.org>2004-04-12 18:00:54 +0000
commitf044d0a524a773547c116f4c62fd3370c8896209 (patch)
tree8498648dc24a5043096bc2a7dc0e8df04dd8991d /usr.bin/make
parent5108eb2d06bff980fcd89846841ebae529aeedd0 (diff)
downloadFreeBSD-src-f044d0a524a773547c116f4c62fd3370c8896209.zip
FreeBSD-src-f044d0a524a773547c116f4c62fd3370c8896209.tar.gz
Document the new .warning directive.
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/make.110
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1
index 0c1bb83..b91ef85 100644
--- a/usr.bin/make/make.1
+++ b/usr.bin/make/make.1
@@ -32,7 +32,7 @@
.\" @(#)make.1 8.8 (Berkeley) 6/13/95
.\" $FreeBSD$
.\"
-.Dd June 13, 1995
+.Dd April 12, 2004
.Dt MAKE 1
.Os
.Sh NAME
@@ -760,10 +760,16 @@ Only global variables may be un-defined.
Terminate processing of the makefile immediately.
The filename of the
makefile, the line on which the error was encountered and the specified
-message are printed to standard output and
+message are printed to the standard error output and
.Nm
terminates with exit code 1.
Variables in the message are expanded.
+.It Ic \&.warning Ar message
+Emit a warning message.
+The filename of the makefile,
+the line on which the warning was encountered,
+and the specified message are printed to the standard error output.
+Variables in the message are expanded.
.El
.Pp
Conditionals are used to determine which parts of the Makefile
OpenPOWER on IntegriCloud