Project

General

Profile

« Previous | Next » 

Revision 4885

input.Makefile: Maps validation: %/unmapped_terms.csv, %/new_terms.csv: Automatically regenerate aggregated unmapped_terms.csv, new_terms.csv when a subdir's corresponding file changes

View differences:

input.Makefile
281 281

  
282 282
%/unmapped_terms.csv: %/map.csv $(coreMap)
283 283
	tail -n +2 $<|$(bin)/cols 1|$(bin)/filter_out_ci 0 $(coreMap) >$@
284
	+$(selfMake) unmapped_terms.csv
284 285
	$(bin)/autoremove $@
285 286

  
286 287
%/new_terms.csv: %/map.csv $(vocab) $(dict) %/unmapped_terms.csv
287 288
	$(newTerms)
289
	+$(selfMake) new_terms.csv
288 290
	$(bin)/autoremove $@
289 291
newTerms = tail -n +2 $<|$(bin)/filter_out_ci 0 $(vocab)|$(bin)/filter_out_ci 0\
290 292
$(dict) $(if $(wildcard $(word 4,$+)),|$(bin)/filter_out_ci 0 $(word 4,$+)) >$@

Also available in: Unified diff