Project

General

Profile

« Previous | Next » 

Revision 8239

inputs/input.Makefile: %/postprocess: Also run the $*/import script, if it exists. Note that this is not the same as the %/import make target.

View differences:

inputs/input.Makefile
256 256
"time" env no_search_path=1 ../$(bin)/psql_verbose_vegbien \
257 257
--set=table='"$(*D)"' --set=table_str=\''"$(*D)"'\'))
258 258

  
259
%/postprocess: _always %/postprocess.sql/run ;
259
%/postprocess: _always %/postprocess.sql/run
260
	$(if $(wildcard $*/import),$*/import)
260 261

  
261 262
# For staging tables which are derived by joining together other staging tables.
262 263
%/install %/header.csv: %/create.sql _always

Also available in: Unified diff