From 544821d744e54882d74f8090b30cd1c0dfe8b6fd Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 7 Jun 2016 02:38:08 -0400 Subject: (systemd) Makefile tidy --- build-aux/Makefile.each.tail/30-directory-info.mk | 4 ++++ build-aux/Makefile.each.tail/30-module.mk | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 build-aux/Makefile.each.tail/30-directory-info.mk delete mode 100644 build-aux/Makefile.each.tail/30-module.mk diff --git a/build-aux/Makefile.each.tail/30-directory-info.mk b/build-aux/Makefile.each.tail/30-directory-info.mk new file mode 100644 index 0000000..10ebc4c --- /dev/null +++ b/build-aux/Makefile.each.tail/30-directory-info.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 diff --git a/build-aux/Makefile.each.tail/30-module.mk b/build-aux/Makefile.each.tail/30-module.mk deleted file mode 100644 index 10ebc4c..0000000 --- a/build-aux/Makefile.each.tail/30-module.mk +++ /dev/null @@ -1,4 +0,0 @@ -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 -- cgit v1.2.3-54-g00ecf