summaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-07 01:56:30 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-07 01:56:30 -0400
commit887efad351ba773c69020379cdaf47598d715291 (patch)
tree39a52936054eb7c3681a7e855efe2ed9fa9b0cc4 /build-aux
parent96a1c9b66024b0d3306a2c264afce923556fe08d (diff)
(systemd) stuff
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/Makefile.each.tail/30-module.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/build-aux/Makefile.each.tail/30-module.mk b/build-aux/Makefile.each.tail/30-module.mk
new file mode 100644
index 0000000..10ebc4c
--- /dev/null
+++ b/build-aux/Makefile.each.tail/30-module.mk
@@ -0,0 +1,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