summaryrefslogtreecommitdiff
path: root/build-aux/Makefile.each.tail/30-directory-info.mk
blob: 10ebc4c1de179565ee6e0f518f8bafd30c0babbe (plain)
1
2
3
4
dir_variables = $(foreach v,$(filter-out _%,$(patsubst %/$(@D),%,$(filter %/$(@D),$(.VARIABLES)))),$(if $(findstring /,$v),, $v))
$(outdir)/directory-info:
	$(AM_V_at)printf '%s = %s\n' $(foreach v,$(dir_variables),'$v' '$($v/$(@D))') | sort | column -s= -o= -t
.PHONY: $(outdir)/module-info