]> git.sesse.net Git - vlc/commitdiff
contrib: Makefile (small) simplification.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 22 Sep 2008 21:54:25 +0000 (23:54 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 22 Sep 2008 22:11:16 +0000 (00:11 +0200)
extras/contrib/Makefile

index 7ed0b187772d7e1a03ad4d3422b6c25fd0278d82..7c93d1087b9118ab2dd50cb6862dbee5f3e4af64 100644 (file)
@@ -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