Commit 7046b612 authored by Rafaël Carré's avatar Rafaël Carré

UPDATE_AUTOCONFIG: use $(UNPACK_DIR)

We can't use $@ as we operate before the directory is renamed
parent a0a79c3e
...@@ -264,7 +264,7 @@ MOVE = mv $(UNPACK_DIR) $@ && touch $@ ...@@ -264,7 +264,7 @@ MOVE = mv $(UNPACK_DIR) $@ && touch $@
AUTOMAKE_DATA_DIRS=$(abspath $(dir $(shell which automake))/../share/automake*) AUTOMAKE_DATA_DIRS=$(abspath $(dir $(shell which automake))/../share/automake*)
UPDATE_AUTOCONFIG = for dir in $(AUTOMAKE_DATA_DIRS); do \ UPDATE_AUTOCONFIG = for dir in $(AUTOMAKE_DATA_DIRS); do \
if test -f "$${dir}/config.sub" -a -f "$${dir}/config.guess"; then \ if test -f "$${dir}/config.sub" -a -f "$${dir}/config.guess"; then \
cp "$${dir}/config.sub" "$${dir}/config.guess" $@; \ cp "$${dir}/config.sub" "$${dir}/config.guess" $(UNPACK_DIR); \
break; \ break; \
fi; \ fi; \
done done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment