Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From ef64032b34190079aab591c64a25f7535a977390 Mon Sep 17 00:00:00 2001 |
| 2 | From: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com> |
| 3 | Date: Tue, 9 Oct 2018 11:26:34 +0200 |
| 4 | Subject: [PATCH] Makefile: fix bash completion install path |
| 5 | |
| 6 | Change path to bash-completion upstream recommendation used by most |
| 7 | distributions. |
| 8 | |
| 9 | Upstream-Status: Accepted |
| 10 | |
| 11 | Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com> |
| 12 | --- |
| 13 | Makefile | 4 ++-- |
| 14 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 15 | |
| 16 | diff --git a/Makefile b/Makefile |
| 17 | index 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 | -- |
| 32 | 1.9.1 |
| 33 | |