Project

General

Profile

1 4610 aaronmk
ifndef termsSubdirs
2 4609 aaronmk
$(error $$(termsSubdirs) required)
3
endif
4 3764 aaronmk
5 4611 aaronmk
missing_mappings: _always unmapped_terms.csv new_terms.csv ;
6 4614 aaronmk
	$(if $(+w),tail -n +1 $(+w))
7 3764 aaronmk
8 4605 aaronmk
catTerms = $(if $(+w),cat $(+w)|env -i sort -u >$@; $(bin)/autoremove $@)
9 4599 aaronmk
10
unmapped_terms.csv: $(termsSubdirs:%=%/unmapped_terms.csv)
11
	$(catTerms)
12
13
new_terms.csv: $(termsSubdirs:%=%/new_terms.csv)
14
	$(catTerms)