aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-06-07 07:33:34 +0100
committerChristopher Baines <mail@cbaines.net>2019-06-07 07:33:34 +0100
commit42c608e00417a3f57f9c410daca1f84b3f9550bc (patch)
treef155994d260013ee6b5e0d78c4b27aef1a411fcd /configure.ac
parent33cf8d66f6076d0690f286eea7084a36417a6cb2 (diff)
downloaddata-service-42c608e00417a3f57f9c410daca1f84b3f9550bc.tar
data-service-42c608e00417a3f57f9c410daca1f84b3f9550bc.tar.gz
Add a --update-database option
This runs Sqitch on startup, which should make managing the database easier, as you just have to restart the service with this option, and the database should be updated if necessary.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 225e894..ccf2071 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,8 @@ guilemoduledir="${datarootdir}/guile/site/${GUILE_EFFECTIVE_VERSION}"
AC_SUBST([guilemoduledir])
AC_SUBST([GUILE_EFFECTIVE_VERSION])
+AC_PATH_PROG([sqitch], [sqitch])
+
dnl Substitute placeholders to generate these target files
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([guix-data-service/config.scm])