lot o updates
This commit is contained in:
7
Makefile
7
Makefile
@@ -3,14 +3,15 @@ MKDIR_FLAGS = -pv
|
||||
|
||||
home_symlinks = Xresources xbindkeysrc xinitrc vimrc vim tmux.conf gitconfig bashrc
|
||||
|
||||
config_copy =
|
||||
# apparmor doesn't work with symlinks (redshift)
|
||||
config_copy = redshift
|
||||
|
||||
config_symlinks = i3 alacritty
|
||||
|
||||
gnupg_symlinks = gpg-agent.conf
|
||||
|
||||
|
||||
local_install: Xresources xbindkeysrc xinitrc vimrc vim i3 gitconfig gpg-agent.conf bashrc alacritty
|
||||
local_install: Xresources xbindkeysrc xinitrc vimrc vim i3 gitconfig gpg-agent.conf bashrc alacritty redshift
|
||||
|
||||
mac_local_install: vimrc vim gpg-agent.conf tmux.conf bashrc
|
||||
|
||||
@@ -26,7 +27,7 @@ $(home_symlinks):
|
||||
$(config_copy):
|
||||
$(eval DESTDIR := $(shell dirname ~/.config/$@))
|
||||
mkdir $(MKDIR_FLAGS) $(DESTDIR)
|
||||
test -e $(CURDIR)/$@ && cp --remove-destination -p $(CURDIR)/$@ ~/.config/$@
|
||||
test -e $(CURDIR)/$@ && cp -r --remove-destination -p $(CURDIR)/$@ ~/.config/$@
|
||||
|
||||
.PHONY: $(config_symlinks)
|
||||
$(config_symlinks):
|
||||
|
||||
Reference in New Issue
Block a user