Kaydet (Commit) 3051f8be authored tarafından Matúš Kukan's avatar Matúš Kukan

create its own target for download..

..which is created (touched) *after* successful download of all tarballs.
fetch.log is not a good target because we touch it along the way.

Note: This is necessary only because we write pointless? date into fetch.log.
Otherwise 'download' could be phony target, thanks to the rule being empty
if we don't need to download anything.

Change-Id: I2380ab189833e03758ddd9f9bf54be38c8fa1dbe
üst ffb8f58e
......@@ -68,9 +68,9 @@ define fetch_Optional
$(if $(filter ALL,$(DO_FETCH_TARBALLS))$(filter $1,$(fetch_BUILD_TYPE)),$2)
endef
download: $(fetch_LOGFILE)
download: $(WORKDIR)/download
$(fetch_LOGFILE): $(SRCDIR)/config_host.mk $(SRCDIR)/download.lst $(SRCDIR)/Makefile.fetch
$(WORKDIR)/download: $(SRCDIR)/config_host.mk $(SRCDIR)/download.lst $(SRCDIR)/Makefile.fetch
@mkdir -p $(TARFILE_LOCATION)/tmp
@date >> $(fetch_LOGFILE)
$(foreach item, \
......@@ -193,5 +193,6 @@ $(fetch_LOGFILE): $(SRCDIR)/config_host.mk $(SRCDIR)/download.lst $(SRCDIR)/Make
$(call fetch_Optional,MOZ,$(MOZ_ZIP_LIB)) \
$(call fetch_Optional,MOZ,$(MOZ_ZIP_RUNTIME)) \
,$(call fetch_Download_item,http://dev-www.libreoffice.org/mozilla,$(item),no-sum))
@mkdir -p $(dir $@) && touch $@
# vim: set noet sw=4 ts=4:
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