The install didn't match the rpm spec. This patch changes the install
directory to match systems that build rpms.
Signed-off-by: Keith Busch <keith.busch@intel.com>
$(INSTALL) -m 755 nvme $(DESTDIR)$(SBINDIR)
install-bash-completion:
- $(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) -d $(DESTDIR)$(SYSCONFDIR)/bash_completion.d
+ $(INSTALL) -m 644 -T ./completions/bash-nvme-completion.sh $(DESTDIR)$(SYSCONFDIR)/bash_completion.d/nvme
install: install-bin install-man install-bash-completion