make the bash-completions directory

This commit is contained in:
Ben Boeckel 2015-02-08 17:51:30 -05:00
parent 13d8befa95
commit 35de2fb8a3

View File

@ -33,7 +33,7 @@ CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" \
%install
# TODO: Install ninja_syntax.py?
mkdir -p %{buildroot}/{%{_bindir},%{_sysconfdir}/bash_completion.d,%{_datadir}/emacs/site-lisp,%{_datadir}/vim/vimfiles/syntax,%{_datadir}/vim/vimfiles/ftdetect,%{_datadir}/zsh/site-functions}
mkdir -p %{buildroot}/{%{_bindir},%{_datadir}/bash-completion/completions,%{_datadir}/emacs/site-lisp,%{_datadir}/vim/vimfiles/syntax,%{_datadir}/vim/vimfiles/ftdetect,%{_datadir}/zsh/site-functions}
install -pm755 ninja %{buildroot}%{_bindir}/ninja-build
install -pm644 misc/bash-completion %{buildroot}%{_datadir}/bash-completion/completions/ninja-bash-completion