[vlc-devel] commit: contrib: Makefile (small) simplification. (Pierre d'Herbemont )

git version control git at videolan.org
Tue Sep 23 00:07:51 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Mon Sep 22 23:54:25 2008 +0200| [385cc5a9ef2c3ba1033c1c7250941dc9ec3da8fb] | committer: Pierre d'Herbemont 

contrib: Makefile (small) simplification.

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

 extras/contrib/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/extras/contrib/Makefile b/extras/contrib/Makefile
index 7ed0b18..7c93d10 100644
--- a/extras/contrib/Makefile
+++ b/extras/contrib/Makefile
@@ -45,7 +45,7 @@ ifdef HAVE_DARWIN_OS
 
 CONTRIBREV=20080922
 contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2:
-	$(WGET) ftp://ftp.videolan.org/pub/videolan/testing/contrib/contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2
+	$(WGET) ftp://ftp.videolan.org/pub/videolan/testing/contrib/$@
 
 using-bin: contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2
 	@if test -d tmp; then \
@@ -53,7 +53,7 @@ using-bin: contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2
 		exit 1 ; \
 	fi
 	mkdir tmp
-	(cd tmp && tar jxvf ../contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2)
+	(cd tmp && tar jxvf ../$<)
 	./change_prefix.sh tmp @@CONTRIB_PREFIX@@  $(PREFIX)
 	for dir in `(cd tmp && find . -type d)`; do mkdir -p -- $$dir; done
 	for i in `(cd tmp && find . -not -type d)`; do mv -f tmp/$$i $$i; done




More information about the vlc-devel mailing list