From 07b80458efb2753a0f718763b95066ecb8b833f1 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 12 Apr 2004 18:00:54 +0000 Subject: [PATCH] Document the new .warning directive. --- usr.bin/make/make.1 | 10 ++++++++-- 1 file 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