Revision 438
Added by Aaron Marcuse-Kubitza almost 13 years ago
Makefile | ||
---|---|---|
7 | 7 |
_always: |
8 | 8 |
.PHONY: _always |
9 | 9 |
|
10 |
all = $(wildcard for_review/*.csv) \ |
|
11 |
$(filter-out VegX-%,$(wildcard *-VegBIEN.*.csv)) VegX-*.plots.csv |
|
10 |
all = $(wildcard for_review/*) $(filter-out VegX-%,$(wildcard *-VegBIEN.*.csv)) |
|
12 | 11 |
|
13 | 12 |
clean: _always |
14 | 13 |
$(RM) $(all) |
... | ... | |
18 | 17 |
##### |
19 | 18 |
|
20 | 19 |
bin = ../bin |
21 |
repl = $(bin)/repl |
|
22 |
sort = $(bin)/sort 1 0 |
|
23 | 20 |
chRoot = $(bin)/ch_root <$< >$@ |
24 | 21 |
|
25 | 22 |
VegX-VegBIEN.organisms.csv: _always |
26 |
$(bin)/in_place $@ $(sort)
|
|
23 |
$(bin)/in_place $@ $(bin)/sort 1 0
|
|
27 | 24 |
|
28 | 25 |
##### |
29 | 26 |
|
30 |
plots: _always $(subst .organisms.,.plots.,$(wildcard VegX-*.organisms.csv)) ;
|
|
27 |
vegxVegbienGenMaps := $(filter-out %.organisms.csv,$(wildcard VegX-VegBIEN.*))
|
|
31 | 28 |
|
32 |
chRoot2PlotsLeftVegx =\ |
|
29 |
plots: _always $(vegxVegbienGenMaps) ; |
|
30 |
|
|
31 |
all += $(vegxVegbienGenMaps) |
|
32 |
|
|
33 |
VegX-VegBIEN.plots.csv: VegX-VegBIEN.organisms.csv |
|
33 | 34 |
env \ |
34 | 35 |
left_in_root='/*s/individualOrganismObservation/*ID->/*s/plotObservation' \ |
35 | 36 |
left_out_root='/*s/plotObservation' \ |
36 |
$(chRoot) |
|
37 |
|
|
38 |
VegX-VegBIEN.plots.csv: VegX-VegBIEN.organisms.csv |
|
39 |
$(chRoot2PlotsVegxVegbien) |
|
40 |
chRoot2PlotsVegxVegbien =\ |
|
41 |
env \ |
|
42 | 37 |
right_in_root='/taxonoccurrence/*_id/plotevent' \ |
43 | 38 |
right_out_root='/plotevent' \ |
44 |
$(chRoot2PlotsLeftVegx) |
|
39 |
$(chRoot) |
Also available in: Unified diff
mappings/Makefile: Cleaned up in preparation for adding rule to generate VegX-VegBIEN.stems.csv