diff options
-rw-r--r-- | build-aux/Makefile.once.head/10-files.mk | 17 |
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 e697a8805d..f6fcf30c3a 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) |