blob: 154e1401a3e5794d129d42143ab0a482917fd1c8 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From ef64032b34190079aab591c64a25f7535a977390 Mon Sep 17 00:00:00 2001
2From: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
3Date: Tue, 9 Oct 2018 11:26:34 +0200
4Subject: [PATCH] Makefile: fix bash completion install path
5
6Change path to bash-completion upstream recommendation used by most
7distributions.
8
9Upstream-Status: Accepted
10
11Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
12---
13 Makefile | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/Makefile b/Makefile
17index fa587dd..433bc41 100644
18--- a/Makefile
19+++ b/Makefile
20@@ -69,8 +69,8 @@ install-bin: default
21 $(INSTALL) -m 755 nvme $(DESTDIR)$(SBINDIR)
22
23 install-bash-completion:
24- $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/bash_completion.d
25- $(INSTALL) -m 644 -T ./completions/bash-nvme-completion.sh $(DESTDIR)$(PREFIX)/share/bash_completion.d/nvme
26+ $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/bash-completion/completions
27+ $(INSTALL) -m 644 -T ./completions/bash-nvme-completion.sh $(DESTDIR)$(PREFIX)/share/bash-completion/completions/nvme
28
29 install: install-bin install-man install-bash-completion
30
31--
321.9.1
33