Project

General

Profile

« Previous | Next » 

Revision 4534

input.Makefile: Staging tables installation: $(dbExports): Sort each group of .sql files in lexical order, since $(wildcard) apparently does not sort them that way automatically on vegbiendev

View differences:

inputs/input.Makefile
174 174

  
175 175
##### Staging tables installation
176 176

  
177
dbExports := $(wildcard *.schema.sql)# schemas first
178
dbExports += $(filter-out $(dbExports),$(wildcard *.sql))# all others
177
dbExports := $(sort $(wildcard *.schema.sql))# schemas first
178
dbExports += $(sort $(filter-out $(dbExports),$(wildcard *.sql)))# all others
179 179
dbExports := $(strip $(dbExports))# += adds extra whitespace
180 180
allInstalls := $(if $(dbExports),sql) $(allTables)
181 181

  

Also available in: Unified diff