aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-06-10 23:05:02 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-06-10 23:05:02 +1200
commitf7d48234cc91d2eaaec5398c639c1f50ea461570 (patch)
tree519facc7de12ed580958242829fa8ec6987355c2
parent8204e4b97378c926984dc5f7aae00deca9726ba3 (diff)
downloaddotfiles-f7d48234cc91d2eaaec5398c639c1f50ea461570.tar.gz
dotfiles-f7d48234cc91d2eaaec5398c639c1f50ea461570.zip
Restrict extensions of installed .d files
-rw-r--r--Makefile50
1 files changed, 25 insertions, 25 deletions
diff --git a/Makefile b/Makefile
index 0613ea05..5fb6664b 100644
--- a/Makefile
+++ b/Makefile
@@ -377,7 +377,7 @@ install-abook:
install-bash: check-bash install-sh bin/han
mkdir -p -- $(HOME)/.bashrc.d $(HOME)/.local/bin
cp -p -- bash/bashrc $(HOME)/.bashrc
- cp -p -- bash/bashrc.d/* $(HOME)/.bashrc.d
+ cp -p -- bash/bashrc.d/*.bash $(HOME)/.bashrc.d
cp -p -- bash/bash_profile $(HOME)/.bash_profile
cp -p -- bash/bash_logout $(HOME)/.bash_logout
cp -p -- bin/han $(HOME)/.local/bin
@@ -385,7 +385,7 @@ install-bash: check-bash install-sh bin/han
install-bash-completion: install-bash
mkdir -p -- $(HOME)/.bash_completion.d $(XDG_CONFIG_HOME)
cp -p -- bash/bash_completion $(XDG_CONFIG_HOME)
- cp -p -- bash/bash_completion.d/* $(HOME)/.bash_completion.d
+ cp -p -- bash/bash_completion.d/*.bash $(HOME)/.bash_completion.d
install-bin: $(BINS) install-bin-man
mkdir -p -- $(HOME)/.local/bin
@@ -440,7 +440,7 @@ install-git: git/config $(GIT_TEMPLATE_HOOKS)
$(XDG_CONFIG_HOME)/git/template/hooks
install-gnupg: gnupg/profile.d/gnupg.sh install-sh
- cp -p -- gnupg/profile.d/* $(HOME)/.profile.d
+ cp -p -- gnupg/profile.d/*.sh $(HOME)/.profile.d
install-gtk:
mkdir -p -- $(XDG_CONFIG_HOME)/gtk-3.0
@@ -452,12 +452,12 @@ install-i3: install-x
cp -p -- i3/* $(XDG_CONFIG_HOME)/i3
install-keychain: install-sh
- cp -p -- keychain/profile.d/* $(HOME)/.profile.d
- cp -p -- keychain/shrc.d/* $(HOME)/.shrc.d
+ cp -p -- keychain/profile.d/*.sh $(HOME)/.profile.d
+ cp -p -- keychain/shrc.d/*.sh $(HOME)/.shrc.d
install-less: less/less
mkdir -p -- $(HOME)/.profile.d
- cp -- less/profile.d/* $(HOME)/.profile.d
+ cp -- less/profile.d/*.sh $(HOME)/.profile.d
mkdir -p -- $(XDG_CONFIG_HOME)/less
cp -p -- less/less $(XDG_CONFIG_HOME)/less/key
@@ -470,7 +470,7 @@ install-man:
install-mpd: install-sh
mkdir -p -- $(HOME)/.mpd/playlists
- cp -p -- mpd/profile.d/* $(HOME)/.profile.d
+ cp -p -- mpd/profile.d/*.sh $(HOME)/.profile.d
cp -p -- mpd/mpdconf $(HOME)/.mpdconf
install-mpv:
@@ -511,37 +511,37 @@ install-mysql:
install-ksh: check-ksh install-sh
mkdir -p -- $(HOME)/.kshrc.d
- cp -p -- ksh/shrc.d/* $(HOME)/.shrc.d
+ cp -p -- ksh/shrc.d/*.sh $(HOME)/.shrc.d
cp -p -- ksh/kshrc $(HOME)/.kshrc
- cp -p -- ksh/kshrc.d/* $(HOME)/.kshrc.d
+ cp -p -- ksh/kshrc.d/*.ksh $(HOME)/.kshrc.d
install-login-shell: check-login-shell
sh install/login-shell.sh
install-perlcritic: install-sh
- cp -p -- perlcritic/profile.d/* $(HOME)/.profile.d
+ cp -p -- perlcritic/profile.d/*.sh $(HOME)/.profile.d
mkdir -p -- $(XDG_CONFIG_HOME)/perlcritic
cp -p -- perlcritic/perlcriticrc $(XDG_CONFIG_HOME)/perlcritic/perlcriticrc
install-perltidy: install-sh
- cp -p -- perltidy/profile.d/* $(HOME)/.profile.d
+ cp -p -- perltidy/profile.d/*.sh $(HOME)/.profile.d
mkdir -p -- $(XDG_CONFIG_HOME)/perltidy
cp -p -- perltidy/perltidyrc $(XDG_CONFIG_HOME)/perltidy/perltidyrc
install-plenv: install-sh
- cp -p -- plenv/profile.d/* $(HOME)/.profile.d
- cp -p -- plenv/shrc.d/* $(HOME)/.shrc.d
+ cp -p -- plenv/profile.d/*.sh $(HOME)/.profile.d
+ cp -p -- plenv/shrc.d/*.sh $(HOME)/.shrc.d
install-psql:
cp -p -- psql/psqlrc $(HOME)/.psqlrc
install-pyenv: install-sh
- cp -p -- pyenv/profile.d/* $(HOME)/.profile.d
- cp -p -- pyenv/shrc.d/* $(HOME)/.shrc.d
+ cp -p -- pyenv/profile.d/*.sh $(HOME)/.profile.d
+ cp -p -- pyenv/shrc.d/*.sh $(HOME)/.shrc.d
install-rbenv: install-sh
- cp -p -- rbenv/profile.d/* $(HOME)/.profile.d
- cp -p -- rbenv/shrc.d/* $(HOME)/.shrc.d
+ cp -p -- rbenv/profile.d/*.sh $(HOME)/.profile.d
+ cp -p -- rbenv/shrc.d/*.sh $(HOME)/.shrc.d
install-readline:
cp -p -- readline/inputrc $(HOME)/.inputrc
@@ -549,10 +549,10 @@ install-readline:
install-sh: check-sh
mkdir -p -- $(HOME)/.profile.d $(HOME)/.shrc.d
cp -p -- sh/profile $(HOME)/.profile
- cp -p -- sh/profile.d/* $(HOME)/.profile.d
+ cp -p -- sh/profile.d/*.sh $(HOME)/.profile.d
cp -p -- sh/shinit $(HOME)/.shinit
cp -p -- sh/shrc $(HOME)/.shrc
- cp -p -- sh/shrc.d/* $(HOME)/.shrc.d
+ cp -p -- sh/shrc.d/*.sh $(HOME)/.shrc.d
install-subversion:
mkdir -p -- $(HOME)/.subversion
@@ -577,7 +577,7 @@ install-terminfo:
tic terminfo/screen-256color.ti
install-tidy: install-sh
- cp -p -- tidy/profile.d/* $(HOME)/.profile.d
+ cp -p -- tidy/profile.d/*.sh $(HOME)/.profile.d
mkdir -p -- $(XDG_CONFIG_HOME)/tidy
cp -p -- tidy/tidyrc $(XDG_CONFIG_HOME)/tidy/tidyrc
@@ -621,7 +621,7 @@ install-vint:
cp -p -- vint/vintrc.yaml $(HOME)/.vintrc.yaml
install-wget: install-sh
- cp -p -- wget/profile.d/* $(HOME)/.profile.d
+ cp -p -- wget/profile.d/*.sh $(HOME)/.profile.d
mkdir -p -- $(XDG_CACHE_HOME)/wget $(XDG_CONFIG_HOME)/wget
cp -p -- wget/wgetrc $(XDG_CONFIG_HOME)/wget/wgetrc
@@ -633,16 +633,16 @@ install-x: check-xinit
cp -p -- X/redshift.conf $(XDG_CONFIG_HOME)
cp -p -- X/sxhkdrc $(XDG_CONFIG_HOME)/sxhkd
cp -p -- X/xinitrc $(HOME)/.xinitrc
- cp -p -- X/xinitrc.d/* $(HOME)/.xinitrc.d
+ cp -p -- X/xinitrc.d/*.sh $(HOME)/.xinitrc.d
cp -p -- X/Xresources $(HOME)/.Xresources
- cp -p -- X/Xresources.d/* $(HOME)/.Xresources.d
+ cp -p -- X/Xresources.d/*.sh $(HOME)/.Xresources.d
install-zsh: check-zsh install-sh
mkdir -p -- $(HOME)/.zshrc.d
- cp -p -- zsh/profile.d/* $(HOME)/.profile.d
+ cp -p -- zsh/profile.d/*.sh $(HOME)/.profile.d
cp -p -- zsh/zprofile $(HOME)/.zprofile
cp -p -- zsh/zshrc $(HOME)/.zshrc
- cp -p -- zsh/zshrc.d/* $(HOME)/.zshrc.d
+ cp -p -- zsh/zshrc.d/*.zsh $(HOME)/.zshrc.d
check: check-bin \
check-git-template-hooks \