Project

General

Profile

« Previous | Next » 

Revision 12751

bugfix: inputs/input.Makefile: %/postprocess.sql: don't perform replacements using map.csv, because map.csv is not idempotent. this functionality was only there to facilitate switching to new-style import, which is now largely done. (the remaining datasources NVS, SALVIAS, TEAM contain only 1 postprocess.sql: inputs/SALVIAS/projects/postprocess.sql (`st inputs/{NVS,SALVIAS,TEAM}/*/postprocess.sql`).)

View differences:

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 $(thesaurus) _always
296
	$(if $(wildcard $*/run),$(bin)/in_place $@ env text=1 $(bin)/repl $<;\
297
$(bin)/in_place $@ env text=1 $(bin)/repl $(thesaurus))
295
%/postprocess.sql: $(thesaurus) _always
296
	$(if $(wildcard $*/run),$(bin)/in_place $@ env text=1 $(bin)/repl $<)
298 297

  
299 298
%/postprocess: _always
300 299
	$(if $(wildcard $*/run),,$(selfMake) "$*/postprocess.sql/run")

Also available in: Unified diff