Project

General

Profile

« Previous | Next » 

Revision 744

mappings/Makefile: Sort DwC-VegBIEN.organisms.csv

View differences:

mappings/Makefile
1
all: _always plots
1
coreMaps := DwC-VegBIEN.organisms.csv VegX-VegBIEN.organisms.csv
2
chRootMaps := VegX-VegBIEN.plots.csv VegX-VegBIEN.stems.csv
3
joinedMaps := $(filter-out DwC-% VegX-%,$(wildcard *-VegBIEN.*.csv))
4
all := $(wildcard for_review/*) $(joinedMaps) $(chRootMaps)
5

  
6
all: _always $(coreMaps) $(chRootMaps)
7
	@#./join DwC VegBIEN
2 8
	./join VegX VegBIEN
3 9
	./review
4 10

  
......
7 13
_always:
8 14
.PHONY: _always
9 15

  
10
all = $(wildcard for_review/*) \
11
$(filter-out DwC-% VegX-%,$(wildcard *-VegBIEN.*.csv))
12

  
13 16
clean: _always
14 17
	$(RM) $(all)
15 18

  
......
17 20

  
18 21
#####
19 22

  
20
bin = ../bin
21
chRoot = $(bin)/ch_root <$< >$@
23
bin := ../bin
22 24

  
23
VegX-VegBIEN.organisms.csv: _always
25
$(coreMaps): _always
24 26
	$(bin)/in_place $@ $(bin)/simplify_xpath
25 27
	$(bin)/in_place $@ $(bin)/sort 1 0
26 28

  
27 29
#####
28 30

  
29
vegxVegbienGenMaps := VegX-VegBIEN.plots.csv VegX-VegBIEN.stems.csv
31
chRoot = $(bin)/ch_root <$< >$@
30 32

  
31
plots: _always $(vegxVegbienGenMaps) ;
32

  
33
all += $(vegxVegbienGenMaps)
34

  
35 33
VegX-VegBIEN.plots.csv: VegX-VegBIEN.organisms.csv
36 34
	env \
37 35
left_in_root='/*s/individualOrganismObservation/*ID->/*s/plotObservation' \

Also available in: Unified diff