Revision 1193
Added by Aaron Marcuse-Kubitza almost 13 years ago
input.Makefile | ||
---|---|---|
125 | 125 |
|
126 | 126 |
ifneq ($(dbFile)$(inputFiles),) |
127 | 127 |
|
128 |
import: _always import-all ; |
|
129 |
|
|
130 | 128 |
log_ = $(@:-all=)$(if $(n),.n=$(n),).$(date).log |
131 | 129 |
trace = $(log_:.log=.trace) |
132 | 130 |
import = -(set -x; "time" env commit=1 verbose=1\ |
... | ... | |
134 | 132 |
$(if $(n),,>>$(log_))) 2>&1$(if $(log),$(if $(n),|tee -a $(log_))) |
135 | 133 |
# don't abort on import errors, which often relate to invalid input data |
136 | 134 |
|
137 |
import-all: $(addprefix import-,$(tables)) _always ;
|
|
135 |
import: $(addprefix import-,$(tables)) _always ; |
|
138 | 136 |
|
139 | 137 |
import-%: maps/VegBIEN.%.csv _always |
140 | 138 |
$(import) |
Also available in: Unified diff
input.Makefile: import: Merged import and import-all because they do the same thing