summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMike Kazantsev <mk.fraggod@gmail.com>2012-01-27 19:56:44 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-27 19:56:44 +0100
commitd8c9d1f9e494b149cb8f1c7e0d79b37bedf21bd5 (patch)
treebe1dd14b33233056978d28f5f0fa8c34c37eae80 /Makefile.am
parentab8da6c266d2a72f13182be1fa2d3301197d33c8 (diff)
build-sys: add creation of /var/lib/systemd path, used by logind
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 15190b41c6..5473623710 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1979,7 +1979,8 @@ polkitpolicy_in_files += \
logind-install-data-hook:
$(MKDIR_P) -m 0755 \
- $(DESTDIR)$(systemunitdir)/multi-user.target.wants
+ $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
+ $(DESTDIR)$(localstatedir)/lib/systemd
( cd $(DESTDIR)$(systemunitdir) && \
rm -f dbus-org.freedesktop.login1.service && \
$(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service)