Project

General

Profile

« Previous | Next » 

Revision 4214

input.Makefile: $(srcsOnly): Include only files ending in one of the data extensions: csv tsv txt xml. This allows the data provider to include other documentation files, such as SQL export queries, in the table subdirs.

View differences:

inputs/input.Makefile
120 120
directMap := %/VegBIEN.csv
121 121
anyMap := $(srcMap) $(viaMap) $(fullViaMap) $(directMap)
122 122

  
123
extsFilter := $(addprefix %.,$(exts))
124
dataOnly = $(filter $(extsFilter),$(1))
125

  
123 126
anyTest = $*/test.%
124
srcsOnly = $(filter-out $(anyMap) $(anyTest) %/logs,$(1))
127
srcsOnly = $(filter-out $(anyMap) $(anyTest) %/logs,$(call dataOnly,$(1)))
125 128

  
126 129
via := Veg+
127 130

  

Also available in: Unified diff