root/trunk/lib/mappings.Makefile @ 14822
1 | 14817 | aaronmk | ifeq ($(origin termsSubdirs),undefined) |
---|---|---|---|
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 $+,cat $+|env -i sort -u >$@; $(bin)/autoremove $@) |
||
9 | |||
10 | unmapped_terms.csv: $(wildcard $(termsSubdirs:%=%/unmapped_terms.csv)) |
||
11 | $(catTerms) |
||
12 | |||
13 | new_terms.csv: $(wildcard $(termsSubdirs:%=%/new_terms.csv)) |
||
14 | $(catTerms) |