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:
Ludovic Courtès 2012-03-13 17:45:14 +01:00
parent dae5032c1c
commit ace94192ac

View file

@ -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 $@