Revision 858
Added by Aaron Marcuse-Kubitza almost 13 years ago
input.Makefile | ||
---|---|---|
1 | 1 |
##### Configuration |
2 | 2 |
|
3 |
nolog ?= |
|
3 | 4 |
exts ?= csv xml |
4 | 5 |
test_n ?= 2 |
5 | 6 |
tablesSort ?= plots organisms stems |
... | ... | |
108 | 109 |
|
109 | 110 |
log = $(@:-all=)$(if $(n),.n=$(n),).$(date).log |
110 | 111 |
import = -(set -x; "time" env commit=1 $(map2db)) \ |
111 |
$(if $(n),,>>$(log)) 2>&1$(if $(n),|tee -a $(log))
|
|
112 |
$(if nolog,,$(if $(n),,>>$(log))) 2>&1$(if nolog,,$(if $(n),|tee -a $(log)))
|
|
112 | 113 |
# ignore import errors, which are often benign (e.g. invalid date format) |
113 | 114 |
|
114 | 115 |
ifneq ($(inputFiles),) |
Also available in: Unified diff
input.Makefile: Added nolog option to disable creating a log file, e.g. for debugging runs