Project

General

Profile

« Previous | Next » 

Revision 4595

input.Makefile: Maps building: %/.map.csv.last_cleanup: unmapped_terms.csv, new_terms.csv: Factored out commands into $(newTerms)

View differences:

input.Makefile
287 287
	$(bin)/in_place $< $(bin)/canon 1 $(word 3,$+)
288 288
	$(bin)/in_place $< $(bin)/translate 1 $(word 4,$+)
289 289
	$(bin)/in_place $< env ignore=1 $(bin)/subtract $(word 2,$+) 0 1 2
290
	$(bin)/filter_out_ci 1 $(word 3,$+) <$<|$(bin)/cols 1 >$*/unmapped_terms.csv
291
	$(bin)/filter_out_ci 0 $(word 3,$+) <$<|$(bin)/cols 0 >$*/new_terms.csv
290
	$(call newTerms,1) >$*/unmapped_terms.csv
291
	$(call newTerms,0) >$*/new_terms.csv
292 292
	touch $@
293 293
# Include comment column so commented mappings are never removed
294

  
295
newTerms = $(bin)/filter_out_ci $(1) $(word 3,$+) <$<|$(bin)/cols $(1)
294 296
else
295 297
%/map.csv: %/src.csv _always
296 298
	$(if $(wildcard $@),,$(if $(wildcard $<),$(CP) $< $@))

Also available in: Unified diff