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:

input.Makefile
248 248

  
249 249
##### Maps validation
250 250

  
251
missing_mappings: _always missing_join_mappings missing_input_mappings ;
251
missingMappingsCmd = +$(selfMake) remake 2>&1\
252
|$(SED) -n 's/^.*No $(*2Space) mapping for ([0-9A-Za-z_-]+).*$$/\1/p'\
253
$(if $(filter non-empty_join,$*),|$(bin)/ucase_first 0)|sort|uniq
252 254

  
253
missing_%_mappings: _always # stem is one of join|input
254
	@echo $(emph)"Missing $* mappings:"$(endEmph)
255
	@+$(selfMake) remake 2>&1\
256
|$(SED) -n 's/^.*No.* $* mapping for ([0-9A-Za-z_-]+).*$$/\1/p'\
257
$(if $(filter join,$*),|$(bin)/ucase_first 0)|sort|uniq
255
include $(root)/lib/mappings.Makefile
258 256

  
259 257
##### External dependencies
260 258

  

Also available in: Unified diff