1 |
387
|
aaronmk
|
all: _always plots
|
2 |
198
|
aaronmk
|
./join VegX VegBIEN
|
3 |
199
|
aaronmk
|
./review
|
4 |
150
|
aaronmk
|
|
5 |
223
|
aaronmk
|
.SUFFIXES:
|
6 |
|
|
|
7 |
383
|
aaronmk
|
_always:
|
8 |
|
|
.PHONY: _always
|
9 |
188
|
aaronmk
|
|
10 |
382
|
aaronmk
|
all = $(wildcard for_review/*.csv) \
|
11 |
387
|
aaronmk
|
$(filter-out VegX-%,$(wildcard *-VegBIEN.*.csv)) VegX-*.plots.csv
|
12 |
196
|
aaronmk
|
|
13 |
383
|
aaronmk
|
clean: _always
|
14 |
196
|
aaronmk
|
$(RM) $(all)
|
15 |
188
|
aaronmk
|
|
16 |
240
|
aaronmk
|
#####
|
17 |
198
|
aaronmk
|
|
18 |
350
|
aaronmk
|
bin = ../bin
|
19 |
|
|
repl = $(bin)/repl
|
20 |
|
|
sort = $(bin)/sort 1 0
|
21 |
|
|
chRoot = $(bin)/ch_root <$< >$@
|
22 |
240
|
aaronmk
|
|
23 |
383
|
aaronmk
|
VegX-VegBIEN.organisms.csv: _always
|
24 |
359
|
aaronmk
|
$(bin)/in_place $@ $(sort)
|
25 |
350
|
aaronmk
|
|
26 |
240
|
aaronmk
|
#####
|
27 |
212
|
aaronmk
|
|
28 |
383
|
aaronmk
|
plots: _always $(subst .organisms.,.plots.,$(wildcard VegX-*.organisms.csv))
|
29 |
197
|
aaronmk
|
|
30 |
188
|
aaronmk
|
chRoot2PlotsLeftVegx =\
|
31 |
|
|
env \
|
32 |
|
|
left_in_root='/*s/individualOrganismObservation/*ID->/*s/plotObservation' \
|
33 |
|
|
left_out_root='/*s/plotObservation' \
|
34 |
|
|
$(chRoot)
|
35 |
|
|
|
36 |
|
|
VegX-VegBIEN.plots.csv: VegX-VegBIEN.organisms.csv
|
37 |
|
|
$(chRoot2PlotsVegxVegbien)
|
38 |
|
|
chRoot2PlotsVegxVegbien =\
|
39 |
|
|
env \
|
40 |
200
|
aaronmk
|
right_in_root='/taxonoccurrence/*_ID/plotevent' \
|
41 |
188
|
aaronmk
|
right_out_root='/plotevent' \
|
42 |
|
|
$(chRoot2PlotsLeftVegx)
|