Project

General

Profile

« Previous | Next » 

Revision 11847

bugfix: inputs/input.Makefile: install: for new-style datasources, use the associated runscript instead (the old-style install target will not do everything that's needed for a new-style datasource)

View differences:

inputs/input.Makefile
231 231
dbExports := $(strip $(dbExports))# += adds extra whitespace
232 232
allInstalls := $(if $(dbExports),sql) $(allTables)
233 233

  
234
install: _always schema $(allInstalls:%=%/install) ;
234
install: _always schema $(allInstalls:%=%/install) ;./run
235
	$(if $(wildcard ./run),./run,+$(selfMake) install_oldstyle)
235 236

  
237
install_oldstyle: _always schema $(allInstalls:%=%/install) ;
238

  
236 239
uninstall: _always confirm_rm_schema rm_schema ;
237 240
# rm_schema will also drop all staging tables
238 241

  

Also available in: Unified diff