aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-12-02 18:02:48 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-12-02 18:02:48 +1300
commit2d1c741cb65a95591e4f2066abf6e4ba607ef54b (patch)
treee7b3d8a737518d7210d42a139dd5d399b61039bb /Makefile
parentOverhaul Bash completion scripts (diff)
downloaddotfiles-2d1c741cb65a95591e4f2066abf6e4ba607ef54b.tar.gz
dotfiles-2d1c741cb65a95591e4f2066abf6e4ba607ef54b.zip
Make separate install-bash-completion target
Don't make it a default just yet, either.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f9ed21ac..882982c6 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,7 @@
install \
install-abook \
install-bash \
+ install-bash-completion \
install-bin \
install-bin-man \
install-curl \
@@ -359,11 +360,14 @@ install-abook:
cp -p -- abook/abookrc $(HOME)/.abook
install-bash: check-bash install-sh
- mkdir -p -- $(HOME)/.bashrc.d $(HOME)/.bash_completion.d $(HOME)/.config
+ mkdir -p -- $(HOME)/.bashrc.d
cp -p -- bash/bashrc $(HOME)/.bashrc
cp -p -- bash/bashrc.d/* $(HOME)/.bashrc.d
cp -p -- bash/bash_profile $(HOME)/.bash_profile
cp -p -- bash/bash_logout $(HOME)/.bash_logout
+
+install-bash-completion: install-bash
+ mkdir -p -- $(HOME)/.bash_completion.d $(HOME)/.config
cp -p -- bash/bash_completion $(HOME)/.config
cp -p -- bash/bash_completion.d/* $(HOME)/.bash_completion.d