Project

General

Profile

« Previous | Next » 

Revision 10058

inputs/FIA/_src/Makefile: Extraction: $(zips): use $(allZips) containing a zip for each state so that states that have not yet been downloaded and extracted (or had an empty dir created for them) will be downloaded. previously, the extract target only expanded existing zips but did not download new zips unless no zips had yet been downloaded. (this had been necessary because some states do not have a download, and the download of them would be continuously retried every time the Makefile was run.)

View differences:

Makefile
30 30

  
31 31
##### Extraction
32 32

  
33
zips := $(wildcard $(allZips))
34
zips := $(if $(zips),$(zips),$(allZips))
33
zips := $(allZips)
35 34
dirs := $(zips:%.zip=%)
36 35

  
37 36
extract: _always $(dirs) ;

Also available in: Unified diff