Revision 4592
Added by Aaron Marcuse-Kubitza over 12 years ago
input.Makefile | ||
---|---|---|
145 | 145 |
coreMap := $(mappings)/$(via)-VegBIEN.csv |
146 | 146 |
coreSelfMap := $(mappings)/$(via).self.csv |
147 | 147 |
vocab := $(mappings)/$(via).vocab.csv |
148 |
dict := $(mappings)/$(via)-VegCore.csv |
|
148 | 149 |
|
149 | 150 |
viaMaps := $(wildcard $(tables:%=%/map.csv)) |
150 | 151 |
viaMaps += $(filter-out $(viaMaps),$(srcMaps:%/src.csv=%/map.csv)) |
... | ... | |
281 | 282 |
|
282 | 283 |
# Via maps cleanup |
283 | 284 |
ifneq ($(filter %/.map.csv.last_cleanup,$(MAKECMDGOALS)),) |
284 |
%/.map.csv.last_cleanup: %/map.csv $(coreMap) $(vocab) |
|
285 |
%/.map.csv.last_cleanup: %/map.csv $(coreMap) $(vocab) $(dict)
|
|
285 | 286 |
$(bin)/in_place $< $(bin)/canon 1 $(word 3,$+) |
287 |
$(bin)/in_place $< $(bin)/translate 1 $(word 4,$+) |
|
286 | 288 |
$(bin)/in_place $< env ignore=1 $(bin)/subtract $(word 2,$+) 0 1 2 |
287 | 289 |
touch $@ |
288 | 290 |
# Include comment column so commented mappings are never removed |
Also available in: Unified diff
input.Makefile: Maps building: %/.map.csv.last_cleanup: Translate map.csv using $(mappings)/$(via)-VegCore.csv