69d5133a3b
distcfg.mk is nice for tracing the variable values' build-up, but it's more useful to have a look at the final result sometimes. So here it is, logged for each build and callable by hand.
15 lines
294 B
Makefile
15 lines
294 B
Makefile
# dump interesting variables' effective values;
|
|
# based on http://stackoverflow.com/questions/7117978
|
|
|
|
SPAM := $(.VARIABLES)
|
|
-include distcfg.mk
|
|
HAM := $(.VARIABLES)
|
|
|
|
.PHONY: dump-vars
|
|
|
|
dump-vars:
|
|
$(foreach v, \
|
|
$(filter-out $(SPAM) SPAM,$(sort $(HAM))), \
|
|
$(info $(v) = $($(v))))
|
|
@:
|