Revision 4534
Added by Aaron Marcuse-Kubitza about 12 years ago
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
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