diff options
author | rillig <rillig@pkgsrc.org> | 2006-08-02 09:46:22 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-08-02 09:46:22 +0000 |
commit | e86e6781612bf61c0fca6791edefd1c583c9c97b (patch) | |
tree | 215e63f76532c70ca34a47162586d842bbd51ba8 /mk/bsd.pkg.mk | |
parent | 6375d2cd73ed98e82aa14c5802c07ad8d57d3ce2 (diff) | |
download | pkgsrc-e86e6781612bf61c0fca6791edefd1c583c9c97b.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.mk | 7 |
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 |