summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-14 02:50:19 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-14 02:50:19 +0200
commit4697132b91989da27b11af179c430305bb9db9ac (patch)
tree4b9dc12d29eef9bab8e148f7fdeab6a9cace7716 /Makefile.am
parent4e85aff465b2ce0fa34222e52a6f5a984140b22e (diff)
manager: merge /etc/xdg/systemd/session and /etc/systemd/session
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 87c686b931..26a2c95850 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -250,3 +250,8 @@ CLEANFILES = \
systemadm.c \
systemd-initctl.service \
systemd-logger.service
+
+install-data-hook:
+ $(MKDIR_P) $(DESTDIR)$(pkgsysconfdir)/system $(DESTDIR)$(pkgsysconfdir)/session $(DESTDIR)$(sysconfdir)/xdg/systemd
+ rm -f $(DESTDIR)$(sysconfdir)/xdg/systemd/session
+ ln -sf $(DESTDIR)$(pkgsysconfdir)/session $(DESTDIR)$(sysconfdir)/xdg/systemd/session