4 DOTFILES := conky* goobookrc msmtp* mutt profile tmux.conf weechat Xresources xprofile
5 CONFIGFILES := aliases compton.conf git gnupg mpv offlineimap ranger retroarch systemd vim xbindkeys xkb
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 ln -sfT $(APATH)/zshrc ~/.zshrc
22 ln -sfT $(APATH)/zprofile ~/.zprofile
23 ln -sfT $(APATH)/zshenv ~/.zshenv
24 ln -sfT $(APATH)/zsh ~/.config/zsh
29 ln -sfT $(APATH)/xprofile ~/.xprofile
33 ln -sfT $(APATH)/dircolors ~/.config/dircolors
37 ln -sfT $(APATH)/urxvt ~/.config/urxvt
41 @if [[ -e ~/$@ && ! -L ~/$@ ]]; then \
42 if [[ -d $@ ]]; then \
49 ln -sfT $(APATH)/$@ ~/$@
52 @if [[ -e ~/.$@ && ! -L ~/.$@ ]]; then \
53 if [[ -d .$@ ]]; then \
60 ln -sfT $(APATH)/$@ ~/.$@
63 @if [[ -e ~/.config/$@ && ! -L ~/.config/$@ ]]; then \
64 if [[ -d .config/$@ ]]; then \
65 cp -r ~/.config/$@/* $@; \
67 cp -r ~/.config/$@ $@; \
71 ln -sfT $(APATH)/$@ ~/.config/$@