summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorrillig <rillig>2006-08-02 09:46:22 +0000
committerrillig <rillig>2006-08-02 09:46:22 +0000
commitd13496ccaa0a3b52bb77c6fbf95c24b78c35d14c (patch)
tree215e63f76532c70ca34a47162586d842bbd51ba8 /mk/bsd.pkg.mk
parentd63b86160815e8665870807ad5658e92317f1730 (diff)
downloadpkgsrc-d13496ccaa0a3b52bb77c6fbf95c24b78c35d14c.tar.gz
Added bsd.pkg.help.mk, which provides the "help" target.
Since more and more files follow the convention of documenting variables in a common format, it makes sense to be able to get the documentation of a single variable by simple means, instead of searching through the whole mk/ directory. Try "make help TOPIC=CONFIGURE_DIRS" for an example.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 96075aa8451..aa96c02345b 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1878 2006/07/27 21:46:45 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1879 2006/08/02 09:46:22 rillig Exp $
#
# This file is in the public domain.
#
@@ -1017,6 +1017,9 @@ changes-entry:
${ECHO} ${_CTYPE1}${_CTYPE2}${_CTYPE3} >> ${PKGSRC_CHANGES:Q}
.include "${PKGSRCDIR}/mk/internal/build-defs-message.mk"
-.if make(debug)
+.if make(debug) || make(build-env)
.include "${PKGSRCDIR}/mk/bsd.pkg.debug.mk"
.endif
+.if make(help)
+.include "${PKGSRCDIR}/mk/bsd.pkg.help.mk"
+.endif