Project

General

Profile

« Previous | Next » 

Revision 1999

main Makefile: Maps validation: Fixed bug where there would be infinite recursion with the Maps validation section before the Subdir forwarding section (it's unknown why this is necessary)

View differences:

Makefile
251 251
test: _always inputs/test
252 252
	@$(done)
253 253

  
254
#### Maps validation
255

  
256
missing_mappings: _always missing_join_mappings missing_input_mappings ;
257

  
258
missing_%_mappings: _always # stem is one of join|input
259
	@echo $(emph)"Missing $* mappings:"$(endEmph)
260
	@+$(MAKE) inputs/$@|grep -v -e ' Missing '\
261
$(if $(filter join,$*), -e '^make '|sort|uniq)
262

  
263 254
##### Testing
264 255

  
265 256
test-all: _always remake test missing_mappings
......
284 275
Makefile: ;
285 276

  
286 277
%: $(addsuffix %,$(dir $(shell echo */Makefile))) _always ;
278

  
279
#### Maps validation
280

  
281
# Must come after Subdir forwarding to avoid infinite recursion, for some reason
282

  
283
missing_mappings: _always missing_join_mappings missing_input_mappings ;
284

  
285
missing_%_mappings: _always # stem is one of join|input
286
	@echo $(emph)"Missing $* mappings:"$(endEmph)
287
	@+$(MAKE) inputs/$@|grep -v -e ' Missing '\
288
$(if $(filter join,$*), -e '^make '|sort|uniq)

Also available in: Unified diff