Project

General

Profile

« Previous | Next » 

Revision 4181

input.Makefile: $(tables): Allow datasource to specify custom import order in src/import_order.txt

View differences:

input.Makefile
103 103

  
104 104
##### Existing maps discovery
105 105

  
106
sortFile := src/import_order.txt
107

  
108
ifneq ($(wildcard $(sortFile)),)
109
tables := $(shell cat $(sortFile))# $(shell) replaces "\n" with " "
110
else
106 111
allSubdirs := $(call wildcard/,src/*/)
107 112
tables := $(call sortFilenames,$(filter-out _%,$(allSubdirs:src/%/=%)))
113
endif
108 114

  
109 115
srcMaps := $(wildcard src/*/src.csv)
110 116

  

Also available in: Unified diff