From 7e4c7596113357ce8f11c92b3a113d5748e6bd68 Mon Sep 17 00:00:00 2001 From: Breno Leitao Date: Mon, 6 Feb 2017 11:03:14 -0500 Subject: [PATCH] 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 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.51.0