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 |
438
|
aaronmk
|
all = $(wildcard for_review/*) $(filter-out VegX-%,$(wildcard *-VegBIEN.*.csv))
|
11 |
196
|
aaronmk
|
|
12 |
383
|
aaronmk
|
clean: _always
|
13 |
196
|
aaronmk
|
$(RM) $(all)
|
14 |
188
|
aaronmk
|
|
15 |
423
|
aaronmk
|
remake: _always clean all ;
|
16 |
|
|
|
17 |
240
|
aaronmk
|
#####
|
18 |
198
|
aaronmk
|
|
19 |
350
|
aaronmk
|
bin = ../bin
|
20 |
|
|
chRoot = $(bin)/ch_root <$< >$@
|
21 |
240
|
aaronmk
|
|
22 |
383
|
aaronmk
|
VegX-VegBIEN.organisms.csv: _always
|
23 |
438
|
aaronmk
|
$(bin)/in_place $@ $(bin)/sort 1 0
|
24 |
350
|
aaronmk
|
|
25 |
240
|
aaronmk
|
#####
|
26 |
212
|
aaronmk
|
|
27 |
438
|
aaronmk
|
vegxVegbienGenMaps := $(filter-out %.organisms.csv,$(wildcard VegX-VegBIEN.*))
|
28 |
197
|
aaronmk
|
|
29 |
438
|
aaronmk
|
plots: _always $(vegxVegbienGenMaps) ;
|
30 |
|
|
|
31 |
|
|
all += $(vegxVegbienGenMaps)
|
32 |
|
|
|
33 |
|
|
VegX-VegBIEN.plots.csv: VegX-VegBIEN.organisms.csv
|
34 |
188
|
aaronmk
|
env \
|
35 |
|
|
left_in_root='/*s/individualOrganismObservation/*ID->/*s/plotObservation' \
|
36 |
|
|
left_out_root='/*s/plotObservation' \
|
37 |
417
|
aaronmk
|
right_in_root='/taxonoccurrence/*_id/plotevent' \
|
38 |
188
|
aaronmk
|
right_out_root='/plotevent' \
|
39 |
438
|
aaronmk
|
$(chRoot)
|