Project

General

Profile

« Previous | Next » 

Revision 8089

inputs/input.Makefile: Staging tables installation: Added %.sql/run to run postprocess.sql, etc. separately from the install targets they are a part of

View differences:

input.Makefile
259 259
	$(exportHeader)
260 260
.PRECIOUS: %/header.csv
261 261

  
262
%.sql/run: _always
263
	$(if $(wildcard $(@D)),($(inDatasrc); cat $(@D))|"time" $(psqlNoSearchPath)\
264
--echo-all --set=table='"$(*D)"' --set=table_str=\''"$(*D)"')
265

  
262 266
%/install: _always
263 267
	$(if $(isRef),$(exportHeader),$(if $(nonXml),$(import_install_)))
264 268
	$(if $(wildcard $*/postprocess.sql),($(inDatasrc); cat $*/postprocess.sql;)\

Also available in: Unified diff