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 @if [[ -e ~/$@ && ! -L ~/$@ ]]; then \
30 if [[ -d $@ ]]; then \
37 ln -sfT $(APATH)/$@ ~/$@
40 @if [[ -e ~/.$@ && ! -L ~/.$@ ]]; then \
41 if [[ -d .$@ ]]; then \
48 ln -sfT $(APATH)/$@ ~/.$@
51 @if [[ -e ~/.config/$@ && ! -L ~/.config/$@ ]]; then \
52 if [[ -d .config/$@ ]]; then \
53 cp -r ~/.config/$@/* $@; \
55 cp -r ~/.config/$@ $@; \
59 ln -sfT $(APATH)/$@ ~/.config/$@