summaryrefslogtreecommitdiff
path: root/build-aux/Makefile.once.head
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/Makefile.once.head')
-rw-r--r--build-aux/Makefile.once.head/10-files.mk17
1 files changed, 12 insertions, 5 deletions
diff --git a/build-aux/Makefile.once.head/10-files.mk b/build-aux/Makefile.once.head/10-files.mk
index e697a88..f6fcf30 100644
--- a/build-aux/Makefile.once.head/10-files.mk
+++ b/build-aux/Makefile.once.head/10-files.mk
@@ -36,14 +36,18 @@ define mod.files.doc
# - Directory variable : `files.out.$(files.groups)` (well, $(addprefix...))
# - Directory variable : `files.sys.$(files.groups)` (well, $(addprefix...))
# Outputs:
-# - Global variable : `nested.targets`
-# - Global variable : `at.targets`
-# - Global variable : `.DEFAULT_GOAL = $(files.default)`
+# - Global variable : `nested.targets`
+# - Global variable : `at.targets`
+# - Global variable : `.DEFAULT_GOAL = $(files.default)`
+# - Directory variable : `files.src`
+# - Directory variable : `files.out`
+# - Directory variable : `files.sys`
# - Creative .PHONY targets:
# - `$(outdir)/$(files.generate))`
-# - `$(addprefix $(outdir)/,$(files.groups))`
-# - `$(outdir)/installdirs`
+# - `$(outdir)/$(group)` for `group` in `$(files.groups)`
# - `$(outdir)/install`
+# - `$(outdir)/install-$(group)` for `group` in `$(filter-out $(files.default),$(files.groups))`
+# - `$(outdir)/installdirs`
# - Destructive .PHONY targets:
# - `$(outdir)/uninstall`
# - `$(outdir)/mostlyclean`
@@ -52,6 +56,9 @@ define mod.files.doc
# - `$(outdir)/maintainer-clean`
# - `$(outdir)/$(files.vcsclean)`
#
+# Basic `*` wildcards are supported. Use `*`, not `%`; it will automatically
+# substitute `*`->`%` where appropriate.
+#
# TODO: prose documentation
endef
mod.files.doc := $(value mod.files.doc)