4 DOTFILES := conky* goobookrc msmtp* mutt profile tmux.conf weechat Xresources xprofile zprofile zshenv zshrc
 
   5 CONFIGFILES := aliases compton.conf git gnupg mpv offlineimap ranger retroarch systemd vim xbindkeys xkb zsh
 
   7 .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
 
   8 install: $(FILES) $(DOTFILES) $(CONFIGFILES)
 
  11         ln -sfT $(APATH)/mpd ~/.config/mpd
 
  12         mkdir -p ~/.local/share/mpd/playlists
 
  16         ln -sfT $(APATH)/ncmpcpp ~/.config/ncmpcpp
 
  17         mkdir -p ~/.local/share/mpd/lyrics
 
  21         @if [[ -e ~/$@ && ! -L ~/$@ ]]; then \
 
  22             if [[ -d $@ ]]; then \
 
  29         ln -sfT $(APATH)/$@ ~/$@
 
  32         @if [[ -e ~/.$@ && ! -L ~/.$@ ]]; then \
 
  33             if [[ -d .$@ ]]; then \
 
  40         ln -sfT $(APATH)/$@ ~/.$@
 
  43         @if [[ -e ~/.config/$@ && ! -L ~/.config/$@ ]]; then \
 
  44             if [[ -d .config/$@ ]]; then \
 
  45               cp -r ~/.config/$@/* $@; \
 
  47               cp -r ~/.config/$@ $@; \
 
  51         ln -sfT $(APATH)/$@ ~/.config/$@