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

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


vlc/vlc-1.2 | branch: master | Rafaël Carré <funman at videolan.org> | Wed Jan  4 19:48:23 2012 -0500| [da2bc8fdcad7d1471d0410ce412d22467982e932] | committer: Jean-Baptiste Kempf

UPDATE_AUTOCONFIG: use $(UNPACK_DIR)

We can't use $@ as we operate before the directory is renamed
(cherry picked from commit 7046b6122b7af1ca7bfa462f33a507959528cb9a)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 59006b7..12ec427 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -263,7 +263,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