summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-31 00:54:10 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-05-31 00:54:10 -0400
commit2aae79164c764df5ae758d3e815df2802b3b7412 (patch)
treefccfc4b8f53a9ddd7f3760178184d7d44b0d548e
parent0b5a58b05456be91c3b02e57a7132c4f0928ca51 (diff)
avoid prefixing things with ./
-rw-r--r--build-aux/Makefile.tail.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/Makefile.tail.mk b/build-aux/Makefile.tail.mk
index f7d42b9ac5..dfbad5ac16 100644
--- a/build-aux/Makefile.tail.mk
+++ b/build-aux/Makefile.tail.mk
@@ -17,8 +17,8 @@
include $(call _at.reverse,$(sort $(wildcard $(topsrcdir)/build-aux/Makefile.each.tail/*.mk)))
-at.subdirs := $(addprefix $(outdir)/,$(at.subdirs))
-at.depdirs := $(addprefix $(outdir)/,$(at.depdirs))
+at.subdirs := $(patsubst ./%,%,$(addprefix $(outdir)/,$(at.subdirs)))
+at.depdirs := $(patsubst ./%,%,$(addprefix $(outdir)/,$(at.depdirs)))
# Move all of the dirlocal variables to their namespaced version
$(foreach v,$(at.dirlocal),$(eval $v/$(outdir) := $$($v)))