Commit e21ae744 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

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

parent b890a56b
...@@ -52,7 +52,7 @@ CONTRIBREV=22 ...@@ -52,7 +52,7 @@ CONTRIBREV=22
contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2: contrib-macosx-$(ARCH)-$(CONTRIBREV).tar.bz2:
$(WGET) http://downloads.videolan.org/pub/videolan/testing/contrib/$@ $(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 \ @if test -d tmp; then \
echo "Move away ./tmp, it's in the way" ; \ echo "Move away ./tmp, it's in the way" ; \
exit 1 ; \ exit 1 ; \
...@@ -70,6 +70,10 @@ ifdef HAVE_DARWIN_10 ...@@ -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 $(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) (cd src && $(MAKE) .iconv)
endif endif
touch hosts/$(HOST)/.$(CONTRIBREV)
using-bin: hosts/$(HOST)/.$(CONTRIBREV)
endif endif
clean-src: 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