Project

General

Profile

« Previous | Next » 

Revision 1954

input.Makefile: Staging tables: import/install-%: Output load status to log file if log option is set

View differences:

input.Makefile
149 149
	echo 'DROP SCHEMA IF EXISTS "$(datasrc)" CASCADE;'|$(psqlAsBien)
150 150

  
151 151
import/install-%: _always
152
	(prefix=; . $(bin)/vegbien_dest;\
153
env schema=$(datasrc) table=$* $(bin)/csv2db $(catSrcs))
152
	$(import_install_table)
153
import_install_table = (prefix=; . $(bin)/vegbien_dest; env schema=$(datasrc)\
154
table=$* $(bin)/csv2db $(catSrcs)$(if $(log), &>import/install.log))
154 155

  
155 156
##### Sources
156 157

  

Also available in: Unified diff