Revision 5976
Added by Aaron Marcuse-Kubitza about 12 years ago
input.Makefile | ||
---|---|---|
382 | 382 |
|
383 | 383 |
psqlExport := "time" $(psqlAsBien) --no-align --field-separator=$$'\t'\ |
384 | 384 |
--pset=footer=off --pset=null=NULL |
385 |
verify = $(if $(reverify),$(psqlExport) --set=datasource="'$(datasrc)'" <$< >$@) |
|
385 |
# Note that using $(inDatasrc) will not work with datasources whose tables are |
|
386 |
# the same name as VegBIEN tables (likely only VegBank), because the datasource |
|
387 |
# is first in the search_path. |
|
388 |
verify = $(if $(reverify),($(inDatasrc); cat $<)|$(psqlExport)\ |
|
389 |
--set=datasource="'$(datasrc)'" >$@) |
|
386 | 390 |
|
387 | 391 |
verify/%.out: $(mappings)/verify.%.sql _always |
388 | 392 |
$(verify) |
Also available in: Unified diff
input.Makefile: Verification of import: $(verify): Use $(inDatasrc) so that the full standard search_path, including any custom public schema, is made available to the VegBIEN-side verification script