Revision 5045
Added by Aaron Marcuse-Kubitza about 12 years ago
Makefile | ||
---|---|---|
19 | 19 |
|
20 | 20 |
##### Core maps cleanup |
21 | 21 |
|
22 |
# This tracks VegCore terms that are mapped to VegBIEN but not documented in |
|
23 |
# VegCore.csv. This file is *not* svn:ignored, so it will show up with a ? when |
|
24 |
# the user runs `svn st` if there are any unsourced terms. |
|
25 |
VegCore-VegBIEN.unsourced_terms.csv: VegCore-VegBIEN.csv VegCore.csv |
|
26 |
$(bin)/filter_out_ci 0 <$+ >$@ |
|
27 |
$(bin)/autoremove $@ |
|
28 |
|
|
22 | 29 |
ifneq ($(filter .%.last_cleanup,$(MAKECMDGOALS)),) |
23 | 30 |
|
24 | 31 |
.VegCore.csv.last_cleanup: .%.last_cleanup: % |
... | ... | |
30 | 37 |
$(bin)/in_place $< $(bin)/sort_map |
31 | 38 |
touch $@ |
32 | 39 |
|
33 |
# This tracks VegCore terms that are mapped to VegBIEN but not documented in |
|
34 |
# VegCore.csv. This file is *not* svn:ignored, so it will show up with a ? when |
|
35 |
# the user runs `svn st` if there are any unsourced terms. |
|
36 |
unsourcedTerms := VegCore-VegBIEN.unsourced_terms.csv |
|
37 |
|
|
38 | 40 |
.VegCore-VegBIEN.csv.last_cleanup: .%.last_cleanup: % |
39 | 41 |
$(bin)/in_place $< $(bin)/sort_map |
40 | 42 |
touch $@ |
41 | 43 |
$(bin)/review 1 <$< >for_review/$< |
42 |
$(bin)/filter_out_ci <$< 0 VegCore.csv >$(unsourcedTerms) |
|
43 |
$(bin)/autoremove $(unsourcedTerms) |
|
44 |
$(MAKE) VegCore-VegBIEN.unsourced_terms.csv |
|
44 | 45 |
|
45 | 46 |
else |
46 | 47 |
$(inputCoreMaps): _always |
Also available in: Unified diff
mappings/Makefile: VegCore-VegBIEN.unsourced_terms.csv: Factored remake code into its own make target