Revision 1789
Added by Aaron Marcuse-Kubitza over 12 years ago
input.Makefile | ||
---|---|---|
141 | 141 |
|
142 | 142 |
##### Maps building |
143 | 143 |
|
144 |
# Maps to (try to) build are added to this
|
|
144 |
# Maps to (try to) build are added to one of these
|
|
145 | 145 |
maps := |
146 |
createOnlyMaps := |
|
146 | 147 |
|
147 | 148 |
srcMaps := $(wildcard maps/src.*.csv) |
148 | 149 |
|
... | ... | |
153 | 154 |
$(if $(srcs),$(if $(isXml),,$(mkSrcMap))) |
154 | 155 |
# only build if CSV srcs exist for that table name |
155 | 156 |
# Try all table names |
156 |
maps += $(tablesSort:%=maps/src.%.csv)
|
|
157 |
createOnlyMaps += $(tablesSort:%=maps/src.%.csv)
|
|
157 | 158 |
|
158 | 159 |
# Must come before $(root)/% to override it |
159 | 160 |
$(coreSelfMap): _always |
... | ... | |
188 | 189 |
$(bin)/join <$+|$(bin)/sort_map >$@ |
189 | 190 |
maps += $(autogenMaps) |
190 | 191 |
|
191 |
maps: $(maps) _always ; |
|
192 |
maps: $(createOnlyMaps) $(maps) _always ;
|
|
192 | 193 |
|
193 | 194 |
all += $(maps) |
194 | 195 |
|
Also available in: Unified diff
input.Makefile: Don't clean src maps, only build them