Project

General

Profile

« Previous | Next » 

Revision 14588

bugfix: inputs/input.Makefile: %/install: $(exportHeader) must come before postprocess because postprocess renames columns

View differences:

input.Makefile
312 312
($(inDatasrc); echo 'CREATE TABLE "$*" AS'; cat $<; echo ';')|"time" \
313 313
$(psqlNoSearchPath) --echo-all --set=schema='"$(datasrc)"' --set=table='"$*"' \
314 314
$(logInstall*)
315
	$(exportHeader)
315 316
	$(selfMake) "$*/postprocess"
316
	$(exportHeader)
317 317
	$(cleanup)
318 318

  
319 319
%/install: _always
320 320
	$(import_install_)
321
	$(exportHeader)
321 322
	$(selfMake) "$*/postprocess"
322
	$(exportHeader)
323 323
	$(cleanup)
324 324
define import_install_
325 325
set -o pipefail; (. $(bin)/vegbien_dest; unset schemas; "time" $(nice)\

Also available in: Unified diff