root/lib/mappings.Makefile @ 4777
1 |
ifndef termsSubdirs |
---|---|
2 |
$(error $$(termsSubdirs) required) |
3 |
endif |
4 |
|
5 |
missing_mappings: _always unmapped_terms.csv new_terms.csv ; |
6 |
$(if $(+w),tail -n +1 $(+w)) |
7 |
|
8 |
catTerms = $(if $(+w),cat $(+w)|env -i sort -u >$@; $(bin)/autoremove $@) |
9 |
|
10 |
unmapped_terms.csv: $(termsSubdirs:%=%/unmapped_terms.csv) |
11 |
$(catTerms) |
12 |
|
13 |
new_terms.csv: $(termsSubdirs:%=%/new_terms.csv) |
14 |
$(catTerms) |