Revision 6076
Added by Aaron Marcuse-Kubitza about 12 years ago
inputs/input.Makefile | ||
---|---|---|
291 | 291 |
endef |
292 | 292 |
translate? = $(if $(wildcard $(1)),$(translate)) |
293 | 293 |
|
294 |
$(srcDict):# empty target in case it doesn't exist |
|
295 |
|
|
294 | 296 |
# Via maps cleanup |
295 | 297 |
ifneq ($(filter %/.map.csv.last_cleanup,$(MAKECMDGOALS)),) |
296 |
%/.map.csv.last_cleanup: %/map.csv $(vocab) $(dict) $(coreMap) |
|
298 |
%/.map.csv.last_cleanup: %/map.csv $(vocab) $(dict) $(coreMap) $(srcDict)
|
|
297 | 299 |
$(call translate?,$(srcDict)) |
298 | 300 |
$(bin)/in_place $< $(bin)/canon 1 $(vocab) |
299 | 301 |
$(bin)/in_place $< $(bin)/canon 1 $(dict) |
Also available in: Unified diff
input.Makefile: Maps building: %/.map.csv.last_cleanup: Added $(srcDict) as a prerequisite, so that .last_cleanup will be re-run if it changes. Added empty $(srcDict) target in case it doesn't exist.