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