Revision 5028
Added by Aaron Marcuse-Kubitza about 12 years ago
input.Makefile | ||
---|---|---|
231 | 231 |
# The joined tables must be suffixed with ".src" to prevent the creation of a |
232 | 232 |
# row_num column, which collides during joins. |
233 | 233 |
isJoinedTable = $(filter %.src,$*) |
234 |
hasRowNum = $(if $(isJoinedTable),,1) |
|
235 | 234 |
|
236 | 235 |
%/install: _always |
237 | 236 |
$(if $(isRef),$(exportHeader),$(if $(nonXml),$(import_install_))) |
238 | 237 |
import_install_ = (prefix=; . $(bin)/vegbien_dest; "time" nice -n +5\ |
239 |
env schema=$(datasrc) table=$* has_row_num=$(hasRowNum) $(bin)/csv2db\ |
|
240 |
$(catSrcs) $(logInstall*)) |
|
238 |
env schema=$(datasrc) table=$* $(bin)/csv2db $(catSrcs) $(logInstall*)) |
|
241 | 239 |
|
242 | 240 |
##### Maps building |
243 | 241 |
|
Also available in: Unified diff
csv2db: Removed no longer used has_row_num param