Revision 6071
Added by Aaron Marcuse-Kubitza over 12 years ago
input.Makefile | ||
---|---|---|
143 | 143 |
anyTest = $*/test.% |
144 | 144 |
srcsOnly = $(filter-out $(anyMap) $(anyTest) %/logs,$(call dataOnly,$(1))) |
145 | 145 |
|
146 |
srcDict := map.csv |
|
147 |
|
|
146 | 148 |
vocab := $(mappings)/VegCore.csv |
147 | 149 |
coreMap := $(mappings)/VegCore-VegBIEN.csv |
148 | 150 |
dict := $(mappings)/Veg+-VegCore.csv |
... | ... | |
286 | 288 |
# Via maps cleanup |
287 | 289 |
ifneq ($(filter %/.map.csv.last_cleanup,$(MAKECMDGOALS)),) |
288 | 290 |
%/.map.csv.last_cleanup: %/map.csv $(vocab) $(dict) $(coreMap) |
291 |
$(bin)/in_place $< $(bin)/canon 1 $(srcDict) |
|
292 |
$(bin)/in_place $< $(bin)/translate 1 $(srcDict) |
|
289 | 293 |
$(bin)/in_place $< $(bin)/canon 1 $(vocab) |
290 | 294 |
$(bin)/in_place $< $(bin)/canon 1 $(dict) |
291 | 295 |
$(bin)/in_place $< $(bin)/translate 1 $(dict) |
Also available in: Unified diff
input.Makefile: Maps building: %/.map.csv.last_cleanup: Also apply any map.csv at the top level of the datasource directory. This can be used to apply a datasource-global data dictionary to all tables.