Project

General

Profile

« Previous | Next » 

Revision 3764

root Makefile, input.Makefile: Maps validation: Treat missing join mappings differently from missing non-empty join mappings, because they indicate mapping to an invalid location, which is a bug. Factored maps validation code out into new lib/mappings.Makefile.

View differences:

Makefile
327 327

  
328 328
# Must come after Subdir forwarding to avoid infinite recursion, for some reason
329 329

  
330
missing_mappings: _always missing_join_mappings missing_input_mappings ;
330
missingMappingsCmd = +$(MAKE) inputs/$@|grep -vEe '(common|mappings).Makefile'\
331
-e ' Missing ' $(if $(filter non-empty_join,$*), -e '^make '|sort|uniq)
331 332

  
332
missing_%_mappings: _always # stem is one of join|input
333
	@echo $(emph)"Missing $* mappings:"$(endEmph)
334
	@+$(MAKE) inputs/$@|grep -v -e 'common.Makefile' -e ' Missing '\
335
$(if $(filter join,$*), -e '^make '|sort|uniq)
333
include lib/mappings.Makefile

Also available in: Unified diff