From eb1e0fa476f5b87e4c2c898c119f443a5ca7494f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 30 Jul 2016 01:21:39 +1200 Subject: Create separate install-bash-completion target --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c620e785..3cc9b64f 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ install \ install-abook \ install-bash \ + install-bash-completion \ install-bin \ install-bin-man \ install-curl \ @@ -96,6 +97,7 @@ tmux/tmux.conf : tmux/tmux.conf.m4 tmux/tmux.conf.m4 > tmux/tmux.conf install : install-bash \ + install-bash-completion \ install-curl \ install-dircolors \ install-git \ @@ -114,13 +116,15 @@ install-bash : test-bash install -m 0755 -d -- \ "$(HOME)"/.config \ "$(HOME)"/.bashrc.d \ - "$(HOME)"/.bash_profile.d \ - "$(HOME)"/.bash_completion.d + "$(HOME)"/.bash_profile.d install -pm 0644 -- bash/bashrc "$(HOME)"/.bashrc install -pm 0644 -- bash/bashrc.d/* "$(HOME)"/.bashrc.d install -pm 0644 -- bash/bash_profile "$(HOME)"/.bash_profile install -pm 0644 -- bash/bash_profile.d/* "$(HOME)"/.bash_profile.d install -pm 0644 -- bash/bash_logout "$(HOME)"/.bash_logout + +install-bash-completion : install-bash + install -m 0755 -d -- "$(HOME)"/.bash_completion.d install -pm 0644 -- bash/bash_completion "$(HOME)"/.config/bash_completion install -pm 0644 -- bash/bash_completion.d/* "$(HOME)"/.bash_completion.d -- cgit v1.2.3