]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
Makefile: fix bash completion install path
authorStefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Tue, 9 Oct 2018 09:26:34 +0000 (11:26 +0200)
committerStefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Tue, 9 Oct 2018 13:23:20 +0000 (15:23 +0200)
Change path to bash-completion upstream recommendation used by most
distributions.

Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com>
Makefile

index fa587dde7b21cdc8cbe7892a6cb89504054c97ad..433bc410e8cd3cb35542dff999ca4a14b06a1223 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -69,8 +69,8 @@ install-bin: default
        $(INSTALL) -m 755 nvme $(DESTDIR)$(SBINDIR)
 
 install-bash-completion:
-       $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/bash_completion.d
-       $(INSTALL) -m 644 -T ./completions/bash-nvme-completion.sh $(DESTDIR)$(PREFIX)/share/bash_completion.d/nvme
+       $(INSTALL) -d $(DESTDIR)$(PREFIX)/share/bash-completion/completions
+       $(INSTALL) -m 644 -T ./completions/bash-nvme-completion.sh $(DESTDIR)$(PREFIX)/share/bash-completion/completions/nvme
 
 install: install-bin install-man install-bash-completion