summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2018-11-30 18:38:19 +0000
committerrillig <rillig@pkgsrc.org>2018-11-30 18:38:19 +0000
commit218a3d5f646d57643a4a2acd82a9ab89ed6ac203 (patch)
tree56b607d224d0bd3b3ed271a39e7fe1e723ac5d5d /editors
parentf729a38ee3ed2297d167ece70820f68a700435a7 (diff)
downloadpkgsrc-218a3d5f646d57643a4a2acd82a9ab89ed6ac203.tar.gz
mk/misc: make configuration for show-all targets more configurable
Up to now, there was a central list of variable name patterns that defined whether a variable was printed as a sorted list, as a list or as a single value. Now each variable group decides on its own which of the variables are printed in which way, using the usual glob patterns. This is more flexible since different files sometimes differ in their naming conventions. Two variable groups are added: license (for everything related to LICENSE) and go (for lang/go).
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs/modules.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/editors/emacs/modules.mk b/editors/emacs/modules.mk
index b9d4668e802..6323b06e92e 100644
--- a/editors/emacs/modules.mk
+++ b/editors/emacs/modules.mk
@@ -1,4 +1,4 @@
-# $NetBSD: modules.mk,v 1.24 2018/06/24 21:19:10 wiz Exp $
+# $NetBSD: modules.mk,v 1.25 2018/11/30 18:38:19 rillig Exp $
#
# This Makefile fragment handles Emacs Lisp Packages (== ELPs).
#
@@ -214,6 +214,9 @@ _SYS_VARS.emacs= EMACS_BIN EMACS_ETCPREFIX EMACS_FLAVOR \
EMACS_VERSION_MAJOR EMACS_VERSION_MINOR \
EMACS_VERSION_MICRO
_DEF_VARS.emacs= _EMACS_TYPE _EMACS_PKGBASE
+_SORTED_VARS.emacs= *_MODULES
+_LISTED_VARS.emacs= *VERSIONS*
+
BUILD_DEFS+= ${_USER_VARS.emacs}
BUILD_DEFS_EFFECTS+= ${_SYS_VARS.emacs}