blob: 623b256d2ec86665fcda023a6e163c54b05a77e2 [file] [log] [blame]
Jackie Huange0634c62022-05-05 19:49:22 +08001From 665d2fa1e06e91db0a2a72fcbb2aa823e02b0a3d Mon Sep 17 00:00:00 2001
2From: Saul Wold <sgw@linux.intel.com>
3Date: Mon, 4 May 2020 11:57:46 -0700
4Subject: [PATCH] fm-mgr: Fix install target
5
6Remove hardcoded UNITDIR in favor of variable
7
8Signed-off-by: Saul Wold <sgw@linux.intel.com>
9---
10 Makefile | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/Makefile b/Makefile
14index 0d683c3..9bca4ab 100755
15--- a/Makefile
16+++ b/Makefile
17@@ -27,7 +27,7 @@ clean:
18 @rm -f $(OBJS)
19
20 install:
21- mkdir -p $(DESTDIR)/usr/lib/systemd/system
22+ mkdir -p $(DESTDIR)/$(UNITDIR)
23 install -m 755 -d $(DESTDIR)$(SYSCONFDIR)
24 install -m 755 -d $(DESTDIR)$(SYSCONFDIR)/init.d
25 install -m 755 -d $(DESTDIR)$(SYSCONFDIR)/logrotate.d
26--
272.17.1
28