[vlc-devel] commit: contrib: With using-bin target, make sure we don' t redo the work more than needed. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Dec 31 17:57:44 CET 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Dec 31 17:55:10 2009 +0100| [e21ae744c0cafb9bc9871f60a96867868c8d4ecd] | committer: Pierre d'Herbemont 

contrib: With using-bin target, make sure we don't redo the work more than needed.

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

 extras/contrib/Makefile |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/extras/contrib/Makefile b/extras/contrib/Makefile
index c124701..7ccc993 100644
--- a/extras/contrib/Makefile
+++ b/extras/contrib/Makefile
@@ -52,7 +52,7 @@ CONTRIBREV=22
 contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2:
 	$(WGET) http://downloads.videolan.org/pub/videolan/testing/contrib/$@
 
-using-bin: contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2
+hosts/$(HOST)/.$(CONTRIBREV): contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2
 	@if test -d tmp; then \
 		echo "Move away ./tmp, it's in the way" ; \
 		exit 1 ; \
@@ -70,6 +70,10 @@ ifdef HAVE_DARWIN_10
 	(cd $(PREFIX)/lib && sed -e 's%/usr/lib/libiconv.la%$(PREFIX)/lib/libiconv.la%g' -i.orig *.la && rm -f *.la.orig)
 	(cd src && $(MAKE) .iconv)
 endif
+	touch hosts/$(HOST)/.$(CONTRIBREV)
+
+using-bin: hosts/$(HOST)/.$(CONTRIBREV) 
+
 endif
 
 clean-src:




More information about the vlc-devel mailing list