blob: f014a0f53786f383de96729074d8c3c8dc0833ef [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 80b087193698632e525b90d45b4a49e61e343e1c Mon Sep 17 00:00:00 2001
2From: Krzysztof Kozlowski <krzk@kernel.org>
3Date: Thu, 13 Jul 2017 21:30:35 +0200
4Subject: [PATCH] etc: Makefile.am: Use systemd_unitdir instead of libdir
5
6Proper directory for installing systemd services is systemd_unitdir, not
7libdir.
8
9Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
10---
11 etc/Makefile.am | 6 +++---
12 1 file changed, 3 insertions(+), 3 deletions(-)
13
14diff --git a/etc/Makefile.am b/etc/Makefile.am
15index 9b6e7522c20f..6d663241a72f 100644
16--- a/etc/Makefile.am
17+++ b/etc/Makefile.am
18@@ -16,8 +16,8 @@ if ADD_SYSTEMD
19 test -f $(DESTDIR)/$(sysconfdir)/conf.d/devmon || $(INSTALL_DATA) \
20 $(srcdir)/systemd/devmon \
21 $(DESTDIR)/$(sysconfdir)/conf.d/devmon
22- test -d $(DESTDIR)/$(libdir)/systemd/system || \
23- mkdir -p -- $(DESTDIR)/$(libdir)/systemd/system
24+ test -d $(DESTDIR)/$(systemd_unitdir)/system || \
25+ mkdir -p -- $(DESTDIR)/$(systemd_unitdir)/system
26 $(INSTALL_DATA) $(srcdir)/systemd/devmon@.service \
27- $(DESTDIR)/$(libdir)/systemd/system/devmon@.service
28+ $(DESTDIR)/$(systemd_unitdir)/system/devmon@.service
29 endif
30--
312.11.0
32