Project

General

Profile

« Previous | Next » 

Revision 8381

inputs/input.Makefile: Staging tables installation: %/install: ignore errors in $(exportHeader) and $(cleanup) if the table does not exist (i.e. a non-data dir)

View differences:

inputs/input.Makefile
272 272
%/install: _always
273 273
	$(if $(isCsv),$(import_install_))
274 274
	$(selfMake) $*/postprocess
275
	$(exportHeader)
276
	$(cleanup)
275
	-$(exportHeader)
276
	-$(cleanup)
277
# ignore errors if table does not exist (non-data dir)
277 278
define import_install_
278 279
(. $(bin)/vegbien_dest; unset schemas; "time" nice -n +5\
279 280
env schema=$(datasrc) table=$* $(bin)/csv2db $(catSrcs) $(logInstall*))

Also available in: Unified diff