Revision 5441
Added by Aaron Marcuse-Kubitza over 12 years ago
inputs/input.Makefile | ||
---|---|---|
232 | 232 |
($(inDatasrc); echo 'CREATE TABLE "$*" AS'; cat $<; echo ';')|"time" \ |
233 | 233 |
$(psqlAsBien) --echo-all --set=table='"$*"' $(logInstall*) |
234 | 234 |
$(exportHeader) |
235 |
.PRECIOUS: %/header.csv |
|
235 | 236 |
|
236 | 237 |
%/install: _always |
237 | 238 |
$(if $(isRef),$(exportHeader),$(if $(nonXml),$(import_install_))) |
Also available in: Unified diff
input.Makefile: Staging tables installation: Don't delete %/header.csv on error, because header.csv is a byproduct rather than the primary output and is created roughly atomically