summaryrefslogtreecommitdiff
path: root/build-aux/Makefile.once.head/zz-mod.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/Makefile.once.head/zz-mod.mk')
-rw-r--r--build-aux/Makefile.once.head/zz-mod.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/build-aux/Makefile.once.head/zz-mod.mk b/build-aux/Makefile.once.head/zz-mod.mk
index 1b12a2fd33..95d251d37c 100644
--- a/build-aux/Makefile.once.head/zz-mod.mk
+++ b/build-aux/Makefile.once.head/zz-mod.mk
@@ -18,7 +18,6 @@ mod.mod.depends += quote
define mod.mod.doc
# Inputs:
# - Files : `$(topsrcdir)/build-aux/Makefile.*/??-*.mk`
-# - Global variable : `mod.*.name`
# - Global variable : `mod.*.description`
# - Global variable : `mod.*.depends`
# - Global variable : `mod.*.files`
@@ -37,6 +36,7 @@ define mod.mod.doc
#
# TODO: prose documentation
endef
+mod.mod.doc := $(value mod.mod.doc)
# The trickery that is _mod.empty/_mod.space is from ยง6.2 of the GNU Make
# manual, "The Two Flavors of Variables".
@@ -55,4 +55,5 @@ undefine _mod.file2mod
$(eval $(foreach _mod.tmp,$(_mod.modules),\
mod.$(_mod.tmp).description ?=$(at.nl)\
mod.$(_mod.tmp).depends ?=$(at.nl)\
- mod.$(_mod.tmp).files ?=$(at.nl)))
+ mod.$(_mod.tmp).files ?=$(at.nl)\
+ mod.$(_mod.tmp).doc ?=$(at.nl)))