summaryrefslogtreecommitdiff
path: root/automake.head.mk
diff options
context:
space:
mode:
Diffstat (limited to 'automake.head.mk')
-rw-r--r--automake.head.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/automake.head.mk b/automake.head.mk
index 37d3b07..431f14d 100644
--- a/automake.head.mk
+++ b/automake.head.mk
@@ -24,7 +24,7 @@ _am_relto = $(call _am_noslash,$(call _am_relto_helper,$(call _am_noslash,$(absp
# Note that _am_is_subdir says that a directory is a subdirectory of
# itself.
_am_path = $(call _am_relto,.,$1)
-am_path = $(foreach p,$1,$(call _am_relto,$p))
+am_path = $(foreach p,$1,$(call _am_relto,.,$p))
## Declare the default target
all: build