summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2017-05-31 15:44:08 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-05-31 15:44:08 +0200
commitf47183183cffb203c00cb630564d4fc525dfcf57 (patch)
tree5d9aff6600985171c094cb81cf0b4686e9701cea /Makefile.am
parentbuild: only install tmpfiles.d/systemd-remote.conf when necessary (#6051) (diff)
downloadsystemd-f47183183cffb203c00cb630564d4fc525dfcf57.tar.xz
systemd-f47183183cffb203c00cb630564d4fc525dfcf57.zip
build: *really* install tmpfiles.d/systemd-remote.conf when necessary (#6061)
This fixes commit 5e354b22520bbb02e which was an attempt to avoid installation of tmpfiles.d/systemd-remote.conf when it was not needed (ie HAVE_REMOTE=false). Before this fix and with the autotool build, systemd-remote.conf was distributed and also installed (although it was empty) even though HAVE_REMOTE=false. That's what happens when doing last second changes without retesting... While at it, update tmpfiles.d/.gitignore (var.conf was missing as well since commit a083537e5d11b).
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am13
1 files changed, 5 insertions, 8 deletions
diff --git a/Makefile.am b/Makefile.am
index 63ffca2918..3b9ed874e5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2676,7 +2676,6 @@ nodist_systemunit_DATA += \
nodist_tmpfiles_DATA = \
tmpfiles.d/systemd.conf \
- tmpfiles.d/systemd-remote.conf \
tmpfiles.d/var.conf \
tmpfiles.d/etc.conf
@@ -2693,6 +2692,11 @@ dist_tmpfiles_DATA += \
tmpfiles.d/legacy.conf
endif
+if HAVE_REMOTE
+nodist_tmpfiles_DATA += \
+ tmpfiles.d/systemd-remote.conf
+endif
+
SYSINIT_TARGET_WANTS += \
systemd-tmpfiles-setup-dev.service \
systemd-tmpfiles-setup.service
@@ -4361,13 +4365,6 @@ EXTRA_DIST += \
src/journal-remote/log-generator.py
endif
-if HAVE_REMOTE
-if ENABLE_TMPFILES
-dist_tmpfiles_DATA += \
- tmpfiles.d/systemd-remote.conf
-endif
-endif
-
# using _CFLAGS = in the conditional below would suppress AM_CFLAGS
journalctl_CFLAGS = \
$(AM_CFLAGS)