Revision 8089
Added by Aaron Marcuse-Kubitza over 11 years ago
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
inputs/input.Makefile: Staging tables installation: Added %.sql/run to run postprocess.sql, etc. separately from the install targets they are a part of