From: Breno Leitao Date: Sun, 3 Jul 2016 14:29:04 +0000 (-0400) Subject: Fix bash completion directory X-Git-Tag: v0.9~22^2~1 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e49f9a46589cdf7b56bc47ac609a99d648d80ae1;p=users%2Fsagi%2Fnvme-cli.git Fix bash completion directory The current bash completion file is being installed on the old /etc/bash_completion.d. This is the legacy directory, and the new rules ask to include all the completion files at /usr/share/bash-completion/completions This patch is required to fix debian lintian errors. --- diff --git a/Makefile b/Makefile index 47d35597..642a8e67 100644 --- a/Makefile +++ b/Makefile @@ -63,8 +63,8 @@ install-bin: default $(INSTALL) -m 755 nvme $(DESTDIR)$(SBINDIR) install-bash-completion: - $(INSTALL) -d $(DESTDIR)$(SYSCONFDIR)/bash_completion.d - $(INSTALL) -m 644 -T ./completions/bash-nvme-completion.sh $(DESTDIR)$(SYSCONFDIR)/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