Project

General

Profile

« Previous | Next » 

Revision 7075

input.Makefile: Import to VegBIEN: Added %/log_file to view the import log file path

View differences:

inputs/input.Makefile
363 363
$(bin)/profile_stats /dev/fd/0
364 364

  
365 365
log_ = $*/logs/$(if $(n),n=$(n).,)$(version).log.sql
366

  
367
# Displays the import log file path
368
# Usage: `make -s inputs/<datasrc>/log_file` (don't echo make commands)
369
%/log_file: _always
370
	echo $$(pwd)/$(log_)
371

  
366 372
trace = $(log_:.log.sql=.trace)
367 373
import = -$(if $(profileTest),$(profileOnly),(set -x; "time" env commit=1\
368 374
$(if $(profile),profile_to=$(trace)) $(map2db))$(if $(log), 2>&1 >>$(log_)))

Also available in: Unified diff