[vlc-commits] UPDATE_AUTOCONFIG: use $(UNPACK_DIR)

Rafaël Carré git at videolan.org
Thu Jan 5 01:49:26 CET 2012


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Jan  4 19:48:23 2012 -0500| [7046b6122b7af1ca7bfa462f33a507959528cb9a] | committer: Rafaël Carré

UPDATE_AUTOCONFIG: use $(UNPACK_DIR)

We can't use $@ as we operate before the directory is renamed

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7046b6122b7af1ca7bfa462f33a507959528cb9a
---

 contrib/src/main.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index e45230a..fc4c5a9 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -264,7 +264,7 @@ MOVE = mv $(UNPACK_DIR) $@ && touch $@
 AUTOMAKE_DATA_DIRS=$(abspath $(dir $(shell which automake))/../share/automake*)
 UPDATE_AUTOCONFIG = for dir in $(AUTOMAKE_DATA_DIRS); do \
 		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; \
 		fi; \
 	done



More information about the vlc-commits mailing list