Revision 12744
Added by Aaron Marcuse-Kubitza almost 11 years ago
input.Makefile | ||
---|---|---|
292 | 292 |
"time" env no_search_path=1 ../$(bin)/psql_verbose_vegbien \ |
293 | 293 |
--set=table='"$(*D)"' --set=table_str=\''"$(*D)"'\')) |
294 | 294 |
|
295 |
%/postprocess.sql: %/map.csv |
|
296 |
$(if $(wildcard $*/run),$(bin)/in_place $@ env text=1 $(bin)/repl $<) |
|
295 |
%/postprocess.sql: %/map.csv $(thesaurus) |
|
296 |
$(if $(wildcard $*/run),$(bin)/in_place $@ env text=1 $(bin)/repl $<;\ |
|
297 |
$(bin)/in_place $@ env text=1 $(bin)/repl $(thesaurus)) |
|
297 | 298 |
|
298 | 299 |
%/postprocess: _always |
299 | 300 |
$(if $(wildcard $*/run),,$(selfMake) "$*/postprocess.sql/run") |
Also available in: Unified diff
bugfix: inputs/input.Makefile: %/postprocess.sql: also need to apply renames from mappings/VegCore.thesaurus.csv, as these have been applied to map.csv