Revision 1526
Added by Aaron Marcuse-Kubitza over 12 years ago
input.Makefile | ||
---|---|---|
120 | 120 |
|
121 | 121 |
maps := |
122 | 122 |
|
123 |
joinSrcMap = $(if $(wildcard maps/src.$*.csv),$(bin)/in_place $@\ |
|
124 |
$(bin)/intersect maps/src.$*.csv 0) |
|
125 |
|
|
123 | 126 |
maps/VegBIEN.%.csv: maps/$(via).%.csv $(coreMap) |
124 | 127 |
$(join) <$+ >$@ |
128 |
$(joinSrcMap) |
|
125 | 129 |
maps += $(autogenMaps) |
126 | 130 |
|
127 | 131 |
makeFullCsv = $(if $(shell test -e $(word 2,$+) && echo t),\ |
... | ... | |
130 | 134 |
|
131 | 135 |
maps/$(via).%.full.csv: maps/$(via).%.csv $(coreSelfMap) |
132 | 136 |
$(makeFullCsv) |
137 |
$(joinSrcMap) |
|
133 | 138 |
maps += $(patsubst maps/%.csv,maps/%.full.csv,$(viaMaps)) |
134 | 139 |
|
135 | 140 |
maps/src.join.%.csv: maps/src.%.csv maps/$(via).%.full.csv $(noEmptyMap) |
Also available in: Unified diff
input.Makefile: Intersect the generated VegBIEN and full via maps with the src map, if it exists. This reduces the size of the autogen maps significantly by including only the entries used by the datasource.