Project

General

Profile

« Previous | Next » 

Revision 5810

input.Makefile: Staging tables installation: If $schema_only option is set, only install .sql files ending in schema.sql

View differences:

inputs/input.Makefile
10 10
profile ?=
11 11
quiet ?=
12 12
reverify ?= 1
13
schema_only ?=
13 14
use_staged ?= $(by_col)
14 15

  
15 16
# Makefile
......
167 168
srcTable := %.src
168 169

  
169 170
dbExports := $(sort $(wildcard *schema.sql))# schemas first
171
ifeq ($(schema_only),)
170 172
dbExports += $(sort $(filter-out $(dbExports),$(wildcard *.sql)))# all others
173
endif
171 174
dbExports := $(strip $(dbExports))# += adds extra whitespace
172 175
allInstalls := $(if $(dbExports),sql) $(allTables)
173 176

  

Also available in: Unified diff