Revision 6364
Added by Aaron Marcuse-Kubitza about 12 years ago
inputs/input.Makefile | ||
---|---|---|
199 | 199 |
|
200 | 200 |
srcTable := %.src |
201 | 201 |
|
202 |
dbExports := $(sort $(wildcard *schema*.sql))# schemas first |
|
203 |
ifeq ($(schema_only),) |
|
204 |
dbExports += $(sort $(filter-out $(dbExports),$(wildcard *.sql)))# all others |
|
202 |
dbExportsWildcard = $(sort $(patsubst _MySQL/%.make,%,$(wildcard\ |
|
203 |
$(1) _MySQL/$(1).make))) |
|
204 |
|
|
205 |
dbExports := $(call dbExportsWildcard,*schema*.sql)# schemas first |
|
206 |
ifeq ($(schema_only),) # add rest of .sql files |
|
207 |
dbExports += $(filter-out $(dbExports),$(call dbExportsWildcard,*.sql)) |
|
205 | 208 |
endif |
206 | 209 |
dbExports := $(strip $(dbExports))# += adds extra whitespace |
207 | 210 |
allInstalls := $(if $(dbExports),sql) $(allTables) |
Also available in: Unified diff
input.Makefile: Staging tables installation: $(dbExports): Also include the files that would be generated by running _MySQL/*.make and creating the corresponding PostgreSQL translations