--- a/config/bash/Makefile.am +++ b/config/bash/Makefile.am @@ -2,12 +2,12 @@ EXTRA_DIST = lxc if ENABLE_BASH install-bash: - $(MKDIR_P) $(DESTDIR)$(sysconfdir)/bash_completion.d/ - $(INSTALL_DATA) lxc $(DESTDIR)$(sysconfdir)/bash_completion.d/ + $(MKDIR_P) $(DESTDIR)$(datarootdir)/bash-completion/ + $(INSTALL_DATA) lxc $(DESTDIR)$(datarootdir)/bash-completion/ uninstall-bash: - rm -f $(DESTDIR)$(sysconfdir)/bash_completion.d/lxc - rmdir $(DESTDIR)$(sysconfdir)/bash_completion.d/ || : + rm -f $(DESTDIR)$(datarootdir)/bash-completion/lxc + rmdir $(DESTDIR)$(datarootdir)/bash-completion/ || : install-data-local: install-bash uninstall-local: uninstall-bash