Commit e21ae744 authored by Pierre's avatar Pierre

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

parent b890a56b
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment