Project

General

Profile

« Previous | Next » 

Revision 11285

bugfix: inputs/input.Makefile: import: remove the temp suffix once the import is done, so that the full database import doesn't keep the suffix attached to the datasources that import_all didn't import with reimport. removed unused import_publish target (instead use import_temp to invoke just the import without the temp suffix removal).

View differences:

input.Makefile
416 416

  
417 417
##### Import to VegBIEN
418 418

  
419
import: $(importTables:%=%/import) _always ;
419
import_temp: $(importTables:%=%/import) _always ;
420 420

  
421
import_publish: _always import publish ; # removes temp suffix when done
421
import: _always import_temp publish ; # removes temp suffix when done
422 422

  
423 423
rm: _always
424 424
	echo "SELECT datasource_rm('$(datasrc)');"|"time" $(psqlAsBien)
425 425

  
426
reimport: _always import_publish ; # replace the previous import
426
reimport: _always import ; # import replaces the previous import
427 427

  
428 428
profileTest = $(if $(profile),$(if $(test),1))
429 429
profileOnly = -env profile_to=/dev/fd/3 $(map2db) 3>&1 1>&2|\

Also available in: Unified diff