summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
+#