Jackie Huang | e0634c6 | 2022-05-05 19:49:22 +0800 | [diff] [blame^] | 1 | From 665d2fa1e06e91db0a2a72fcbb2aa823e02b0a3d Mon Sep 17 00:00:00 2001 |
| 2 | From: Saul Wold <sgw@linux.intel.com> |
| 3 | Date: Mon, 4 May 2020 11:57:46 -0700 |
| 4 | Subject: [PATCH] fm-mgr: Fix install target |
| 5 | |
| 6 | Remove hardcoded UNITDIR in favor of variable |
| 7 | |
| 8 | Signed-off-by: Saul Wold <sgw@linux.intel.com> |
| 9 | --- |
| 10 | Makefile | 2 +- |
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 12 | |
| 13 | diff --git a/Makefile b/Makefile |
| 14 | index 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 | -- |
| 27 | 2.17.1 |
| 28 | |