summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2019-01-05 10:04:44 +0000
committerColin Watson <cjwatson@debian.org>2019-01-05 10:04:44 +0000
commit282e70330d77b1dff13a9e421206cf78cde54cf2 (patch)
tree86f4ccc5f67c1944ef01ab1e0aed091f559bc832 /Makefile.am
parentd6e1c04c7f2592f8aeaf2b1a00d894992790e8a1 (diff)
Fix distcheck following addition of systemd timer
* Makefile.am (AM_DISTCHECK_CONFIGURE_FLAGS): Add --with-systemdsystemunitdir=\$${prefix}/lib/systemd/system.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 850b4e35..af675881 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -55,10 +55,12 @@ EXTRA_DIST += \
# Installing in --enable-setuid mode (the default) requires root; disable
# this so that distcheck can be run as non-root.
-# The default for systemdtmpfilesdir is intentionally not prefix-sensitive,
-# but we need to adjust it in order for distcheck to pass.
+# The defaults for systemdsystemunitdir and systemdtmpfilesdir are
+# intentionally not prefix-sensitive, but we need to adjust them in order
+# for distcheck to pass.
AM_DISTCHECK_CONFIGURE_FLAGS = \
--disable-setuid \
+ --with-systemdsystemunitdir=\$${prefix}/lib/systemd/system \
--with-systemdtmpfilesdir=\$${prefix}/lib/tmpfiles.d
# We deliberately leave the configuration file in place on uninstall, since