Revision 14817
Added by Aaron Marcuse-Kubitza about 10 years ago
mappings.Makefile | ||
---|---|---|
1 |
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) |
|
1 |
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) |
Also available in: Unified diff
fix: *Makefile: changed line endings to \n so that `patch` can work with pasted input. use `svn di --extensions --ignore-eol-style` to verify no diff.