Revision 6078
Added by Aaron Marcuse-Kubitza about 12 years ago
input.Makefile | ||
---|---|---|
253 | 253 |
|
254 | 254 |
%/install: _always |
255 | 255 |
$(if $(isRef),$(exportHeader),$(if $(nonXml),$(import_install_))) |
256 |
$(if $(wildcard $*/postprocess.sql),($(inDatasrc); cat $*/postprocess.sql;)\ |
|
257 |
|"time" $(psqlAsBien) --echo-all --set=table='"$*"' $(logInstall*Add)) |
|
256 | 258 |
define import_install_ |
257 | 259 |
(prefix=; . $(bin)/vegbien_dest; "time" nice -n +5\ |
258 | 260 |
env schema=$(datasrc) table=$* $(bin)/csv2db $(catSrcs) $(logInstall*)) |
Also available in: Unified diff
input.Makefile: Staging tables installation: Added back postprocess.sql, which is now used for one-time dropping of private columns that should not be publicly visible