From: Breno Leitao Date: Mon, 6 Feb 2017 16:03:14 +0000 (-0500) Subject: Moving the bash completion files to the standard X-Git-Tag: v1.2~26^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7e4c7596113357ce8f11c92b3a113d5748e6bd68;p=users%2Fsagi%2Fnvme-cli.git Moving the bash completion files to the standard Currently it is not recommend to put the bash completion files inside /etc, but on the new /usr/share/completion, as stated in : https://lintian.debian.org/tags/package-installs-into-obsolete-dir.html https://bugs.debian.org/776954 Signed-off-by: Breno Leitao --- diff --git a/Makefile b/Makefile index 1ada6f5a..e88add79 100644 --- a/Makefile +++ b/Makefile @@ -62,8 +62,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.d + $(INSTALL) -m 644 -T ./completions/bash-nvme-completion.sh $(DESTDIR)$(PREFIX)/share/bash_completion.d/nvme install: install-bin install-man install-bash-completion