forked from lix-project/hydra
Update the list of SQL files to be installed.
This fixes `hydra-init', which would otherwise not find `upgrade-*.sql', thus skipping the update altogether.
This commit is contained in:
parent
dae5032c1c
commit
ace94192ac
|
@ -1,7 +1,13 @@
|
|||
EXTRA_DIST = hydra.sql hydra-postgresql.sql hydra-sqlite.sql
|
||||
|
||||
sqldir = $(libexecdir)/hydra/sql
|
||||
nobase_sql_DATA = $(EXTRA_DIST)
|
||||
nobase_sql_DATA = \
|
||||
hydra-postgresql.sql \
|
||||
hydra.sql \
|
||||
hydra-sqlite.sql \
|
||||
test.sql \
|
||||
upgrade-2.sql \
|
||||
upgrade-3.sql \
|
||||
upgrade-4.sql
|
||||
|
||||
|
||||
hydra-postgresql.sql: hydra.sql
|
||||
cpp -P -E -traditional-cpp -DPOSTGRESQL hydra.sql > $@ || rm -f $@
|
||||
|
|
Loading…
Reference in a new issue