From ace94192acf70e2c82631ba1a9a9bea58a1b4599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 13 Mar 2012 17:45:14 +0100 Subject: [PATCH] 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. --- src/sql/Makefile.am | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/sql/Makefile.am b/src/sql/Makefile.am index dafebba7..814cd57f 100644 --- a/src/sql/Makefile.am +++ b/src/sql/Makefile.am @@ -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 $@