--- a/Makefile.am +++ b/Makefile.am @@ -35,6 +35,7 @@ bashcompletion_DATA = bash-completion install-data-local: + install -d -m 755 '$(DESTDIR)$(BASH_COMPLETION_DIR)' + install -m 644 bash-completion '$(DESTDIR)$(BASH_COMPLETION_DIR)'/i3blocks - ( cd '$(DESTDIR)$(BASH_COMPLETION_DIR)' && mv bash-completion i3blocks ) uninstall-local: