Makefile: Add separators, i3status config targets
This commit is contained in:
parent
1c61f85020
commit
fe454b34a7
1 changed files with 26 additions and 9 deletions
35
GNUmakefile
35
GNUmakefile
|
|
@ -36,6 +36,8 @@ endif
|
||||||
|
|
||||||
install: $(DEFAULT_TARGETS)
|
install: $(DEFAULT_TARGETS)
|
||||||
|
|
||||||
|
### SHELL COMFY ################################################################
|
||||||
|
|
||||||
$(HOME)/.aliases/%: .aliases/%
|
$(HOME)/.aliases/%: .aliases/%
|
||||||
$(INSTALL) -D -m 644 $< $@
|
$(INSTALL) -D -m 644 $< $@
|
||||||
|
|
||||||
|
|
@ -70,23 +72,36 @@ $(HOME)/.bashrc.%: .bashrc.%
|
||||||
/opt/local/etc/bashrc.%: .bashrc.%
|
/opt/local/etc/bashrc.%: .bashrc.%
|
||||||
sudo cp $< $@
|
sudo cp $< $@
|
||||||
|
|
||||||
|
### TERMINAL EMULATOR ##########################################################
|
||||||
|
|
||||||
|
$(HOME)/.config/alacritty/alacritty.toml: .config/alacritty/alacritty.toml
|
||||||
|
$(INSTALL) -D -m 644 $< $@
|
||||||
|
|
||||||
|
### SWAY #######################################################################
|
||||||
|
|
||||||
|
$(HOME)/.sway/config: .sway/config
|
||||||
|
$(INSTALL) -D -m 644 $< $@
|
||||||
|
|
||||||
|
$(HOME)/.config/i3status/config: .config/i3status/config
|
||||||
|
$(INSTALL) -D -m 644 $< $@
|
||||||
|
|
||||||
|
i3status: $(HOME)/.config/i3status/config
|
||||||
|
|
||||||
|
sway: $(HOME)/.sway/config $(HOME)/.config/i3status/config
|
||||||
|
|
||||||
|
### VIM ########################################################################
|
||||||
|
|
||||||
$(HOME)/.vimrc: .vimrc
|
$(HOME)/.vimrc: .vimrc
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
|
||||||
$(HOME)/.vim/bundle:
|
$(HOME)/.vim/bundle:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
$(HOME)/.config/alacritty/alacritty.toml: .config/alacritty/alacritty.toml
|
|
||||||
$(INSTALL) -D -m 644 $< $@
|
|
||||||
|
|
||||||
$(HOME)/.sway/config: .sway/config
|
|
||||||
$(INSTALL) -D -m 644 $< $@
|
|
||||||
|
|
||||||
sway: $(HOME)/.sway/config
|
|
||||||
|
|
||||||
$(HOME)/.vim/bundle/Vundle.vim: $(HOME)/.vim/bundle
|
$(HOME)/.vim/bundle/Vundle.vim: $(HOME)/.vim/bundle
|
||||||
git clone https://github.com/VundleVim/Vundle.vim.git $@ || cd $@; git pull; exit 0
|
git clone https://github.com/VundleVim/Vundle.vim.git $@ || cd $@; git pull; exit 0
|
||||||
|
|
||||||
|
### X.ORG CRAP #################################################################
|
||||||
|
|
||||||
$(HOME)/.Xmodcapslock: x-crap/.Xmodcapslock
|
$(HOME)/.Xmodcapslock: x-crap/.Xmodcapslock
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
|
||||||
|
|
@ -101,7 +116,9 @@ $(HOME)/.xinitrc: x-crap/.xinitrc
|
||||||
|
|
||||||
x-crap: $(HOME)/.Xmodcapslock $(HOME)/.Xdefaults $(HOME)/.Xresources $(HOME)/.xinitrc
|
x-crap: $(HOME)/.Xmodcapslock $(HOME)/.Xdefaults $(HOME)/.Xresources $(HOME)/.xinitrc
|
||||||
|
|
||||||
.PHONY: aliases profileds README x-crap sway
|
### "PHONY" TARGETS ############################################################
|
||||||
|
|
||||||
|
.PHONY: aliases profileds README x-crap sway i3status
|
||||||
|
|
||||||
### README #####################################################################
|
### README #####################################################################
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue