summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-31 00:54:43 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-05-31 00:54:43 -0400
commitd331934d1fcdaea5474a1da3605907447f7ef6ee (patch)
treea28aa25baf8cfbc1824dbadcbba0691595fef40a
parent48731211106413607a067aa26f80d8b308e58eda (diff)
Avoid prefixing things with ./
-rw-r--r--build-aux/Makefile.each.tail/10-std.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/build-aux/Makefile.each.tail/10-std.mk b/build-aux/Makefile.each.tail/10-std.mk
index d32ec9b26e..5150a71a72 100644
--- a/build-aux/Makefile.each.tail/10-std.mk
+++ b/build-aux/Makefile.each.tail/10-std.mk
@@ -19,13 +19,13 @@ std.clean_files += $(std.gen_files) $(std.cfg_files) $(std.out_files)
$(foreach c,src gen cfg out sys clean slow,$(eval std.$c_files := $$(std.$c_files)))
# Make each of the standard variables relative to the correct directory
-std.src_files := $(addprefix $(srcdir)/,$(std.src_files))
-std.gen_files := $(addprefix $(srcdir)/,$(std.gen_files))
-std.cfg_files := $(addprefix $(outdir)/,$(std.cfg_files))
-std.out_files := $(addprefix $(outdir)/,$(std.out_files))
-std.sys_files := $(addprefix $(DESTDIR),$(std.sys_files))
-std.clean_files := $(addprefix $(outdir)/,$(std.clean_files))
-std.slow_files := $(addprefix $(outdir)/,$(std.slow_files))
+std.src_files := $(patsubst ./%,%,$(addprefix $(srcdir)/,$(std.src_files)))
+std.gen_files := $(patsubst ./%,%,$(addprefix $(srcdir)/,$(std.gen_files)))
+std.cfg_files := $(patsubst ./%,%,$(addprefix $(outdir)/,$(std.cfg_files)))
+std.out_files := $(patsubst ./%,%,$(addprefix $(outdir)/,$(std.out_files)))
+std.sys_files := $(addprefix $(DESTDIR),$(std.sys_files))
+std.clean_files := $(patsubst ./%,%,$(addprefix $(outdir)/,$(std.clean_files)))
+std.slow_files := $(patsubst ./%,%,$(addprefix $(outdir)/,$(std.slow_files)))
# Creative targets
$(outdir)/build : $(std.out_files)