summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-12 07:54:30 +0000
committerrillig <rillig@pkgsrc.org>2007-01-12 07:54:30 +0000
commitece83b345672bf42601ae2b7cbc9ba1a55316d6b (patch)
tree848a065c4ef9672fb0a8cb1c38be225b734682b9 /mk
parent0040b5c2e8b681d849d57b03b31818927b139d72 (diff)
downloadpkgsrc-ece83b345672bf42601ae2b7cbc9ba1a55316d6b.tar.gz
Added the file msg.help, which describes the INFO_MSG, WARNING_MSG,
ERROR_MSG and FATAL_MSG commands.
Diffstat (limited to 'mk')
-rw-r--r--mk/help/help.mk3
-rw-r--r--mk/help/msg.help19
2 files changed, 21 insertions, 1 deletions
diff --git a/mk/help/help.mk b/mk/help/help.mk
index 79cfe7e0479..09bf022b7d3 100644
--- a/mk/help/help.mk
+++ b/mk/help/help.mk
@@ -1,4 +1,4 @@
-# $NetBSD: help.mk,v 1.5 2007/01/06 16:49:40 rillig Exp $
+# $NetBSD: help.mk,v 1.6 2007/01/12 07:54:30 rillig Exp $
#
# This is the integrated pkgsrc online help system. To query for the
@@ -14,6 +14,7 @@ _HELP_FILES+= mk/*.mk mk/*/*.mk
_HELP_FILES+= mk/defaults/mk.conf
_HELP_FILES+= lang/perl5/*.mk lang/php/*.mk lang/python/*.mk
_HELP_FILES+= lang/ruby/*.mk
+_HELP_FILES+= mk/*/*.help
.if defined(VARNAME)
TOPIC?= ${VARNAME}
diff --git a/mk/help/msg.help b/mk/help/msg.help
new file mode 100644
index 00000000000..890bc5ecb47
--- /dev/null
+++ b/mk/help/msg.help
@@ -0,0 +1,19 @@
+# $NetBSD: msg.help,v 1.1 2007/01/12 07:54:30 rillig Exp $
+#
+
+# INFO_MSG
+# A shell command that prints the word "INFO:", followed by its
+# arguments, onto stdout. Exits with EXIT_SUCCESS.
+#
+# WARNING_MSG
+# A shell command that prints the word "WARNING:", followed by its
+# arguments, onto stderr. Exits with EXIT_SUCCESS.
+#
+# ERROR_MSG
+# A shell command that prints the word "ERROR:", followed by its
+# arguments, onto stderr. Exits with EXIT_SUCCESS(!).
+#
+# FAIL_MSG
+# A shell command that prints the word "ERROR:", followed by its
+# arguments, onto stderr. Exits with EXIT_FAILURE.
+#