Project

General

Profile

« Previous | Next » 

Revision 1971

input.Makefile: Staging tables: import/install-%: Use new quiet option to determine whether to tee output to terminal. Don't use log option because that's always set to true except in test mode, which doesn't apply to installs.

View differences:

inputs/input.Makefile
5 5
profile ?=
6 6
reverify ?= 1
7 7
debug ?=
8
quiet ?=
8 9

  
9 10
# Makefile
10 11
tablesSort ?= plots organisms stems specimens
......
170 171
import/install-%: _always
171 172
	$(if $(isCsv),$(import_install_))
172 173
import_install_ = (prefix=; . $(bin)/vegbien_dest; "time" env schema=$(datasrc)\
173
table=$* $(bin)/csv2db $(catSrcs)$(if $(log), &>import/install.log))
174
table=$* $(bin)/csv2db $(catSrcs) $(if $(quiet),&>,2>&1|tee )import/install.log)
174 175

  
175 176
##### Maps building
176 177

  

Also available in: Unified diff