aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-04-12 18:00:54 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-04-12 18:00:54 +0000
commit07b80458efb2753a0f718763b95066ecb8b833f1 (patch)
tree8498648dc24a5043096bc2a7dc0e8df04dd8991d /usr.bin/make
parentdba067b170fe16330f58536bb5808bbd9fb21ba9 (diff)
downloadsrc-07b80458efb2753a0f718763b95066ecb8b833f1.tar.gz
src-07b80458efb2753a0f718763b95066ecb8b833f1.zip
Document the new .warning directive.
Notes
Notes: svn path=/head/; revision=128161
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 0c1bb83794f8..b91ef85deb67 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