4 DOTFILES := aliases bash* conky* flexget git* goobookrc msmtp* mutt ncmpcpp offlineimap* vim* weechat xbindkeysrc Xmodmap Xresources xprofile zsh*
5 CONFIGFILES := retroarch compton.conf mimeo.conf
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/$@