Project

General

Profile

« Previous | Next » 

Revision 4858

input.Makefile: Maps validation: Inline $(unmappedTerms) because it's only used once

View differences:

input.Makefile
278 278

  
279 279
# `tail -n +2`: Remove header before running filter_out_ci because filter_out_ci
280 280
# only removes the header if it matches the vocabulary's header.
281
define unmappedTerms
282
tail -n +2 $<|$(bin)/cols $(1)$(2) >$@
283
$(bin)/autoremove $@
284
endef
285 281

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

  
289 286
%/new_terms.csv: %/map.csv $(vocab) $(dict) %/unmapped_terms.csv
290 287
	$(newTerms)

Also available in: Unified diff