4 DOTFILES := conky* goobookrc msmtp* mutt ncmpcpp profile tmux.conf weechat Xresources xprofile zprofile zshenv zshrc
5 CONFIGFILES := aliases compton.conf git gnupg mpd mpv offlineimap ranger retroarch systemd vim xbindkeys xkb zsh
7 .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
8 install: $(FILES) $(DOTFILES) $(CONFIGFILES)
11 @if [[ -e ~/$@ && ! -L ~/$@ ]]; then \
12 if [[ -d $@ ]]; then \
19 ln -sfT $(APATH)/$@ ~/$@
22 @if [[ -e ~/.$@ && ! -L ~/.$@ ]]; then \
23 if [[ -d .$@ ]]; then \
30 ln -sfT $(APATH)/$@ ~/.$@
33 @if [[ -e ~/.config/$@ && ! -L ~/.config/$@ ]]; then \
34 if [[ -d .config/$@ ]]; then \
35 cp -r ~/.config/$@/* $@; \
37 cp -r ~/.config/$@ $@; \
41 ln -sfT $(APATH)/$@ ~/.config/$@