Project

General

Profile

« Previous | Next » 

Revision 1272

mappings/Makefile: Reorganized into DwC and VegX sections

View differences:

mappings/Makefile
1 1
##### Vars/functions
2 2

  
3
# Paths
3 4
bin := ../bin
5
coreMaps := DwC1-DwC2.specimens.csv DwC2-VegBIEN.specimens.csv\
6
VegX-VegBIEN.organisms.csv
4 7

  
8
# Commands
9

  
5 10
review_ = $(bin)/review <$(1) >for_review/$(1)
6 11
review = $(call review_,$@)
7 12

  
8
coreMaps := DwC1-DwC2.specimens.csv DwC2-VegBIEN.specimens.csv\
9
VegX-VegBIEN.organisms.csv
13
join = env header_num=1 $(bin)/join_union_sort
14
selfMap = $(bin)/cols 0 0
10 15

  
16
define chRoot
17
$(bin)/ch_root <$< >$@
18
$(review)
19
endef
20

  
11 21
##### General targets
12 22

  
13 23
all: _always $(coreMaps) join_maps ch_root_maps ;
......
38 48
	$(MAKE) $(@:%=.%.last_cleanup)
39 49
endif
40 50

  
41
##### Maps generated with join
51
##### DwC
42 52

  
43
join = env header_num=1 $(bin)/join_union_sort
44
selfMap = $(bin)/cols 0 0
45

  
46 53
joinMaps :=
47 54

  
48 55
DwC2.ci-VegBIEN.specimens.csv: DwC2-VegBIEN.specimens.csv
......
61 68

  
62 69
all += $(joinMaps)
63 70

  
64
##### Maps generated with ch_root
71
##### VegX
65 72

  
66
define chRoot
67
$(bin)/ch_root <$< >$@
68
$(review)
69
endef
70

  
71 73
chRootMaps :=
72 74

  
73 75
VegX-VegBIEN.plots.csv: VegX-VegBIEN.organisms.csv

Also available in: Unified diff