4 DOTFILES := goobookrc msmtp* mutt profile tmux.conf weechat Xresources
5 CONFIGFILES := aliases compton.conf git mpv offlineimap ranger retroarch xbindkeys xkb
7 .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
8 install: $(FILES) $(DOTFILES) $(CONFIGFILES)
14 ln -sfT $(APATH)/vim ~/.config/vim
15 mkdir -p ~/.local/share/vim
16 git clone https://github.com/gmarik/vundle ~/.local/share/vim/vundle
20 ln -sfT $(APATH)/gdbinit ~/.gdbinit
21 ln -sfT $(APATH)/cgdb ~/.cgdb
25 ln -sfT $(APATH)/awesome ~/.config/awesome
28 qutebrowser: ~/.config
29 ln -sfT $(APATH)/qutebrowser ~/.config/qutebrowser
34 ln -sfT $(APATH)/mpd ~/.config/mpd
35 mkdir -p ~/.local/share/mpd/playlists
36 systemctl --user enable mpd
37 systemctl --user start mpd
41 ln -sfT $(APATH)/ncmpcpp ~/.config/ncmpcpp
42 mkdir -p ~/.local/share/mpd/lyrics
46 ln -sfT $(APATH)/$@ ~/.config/$@
50 ln -sfT $(APATH)/$@ ~/.config/$@
51 systemctl --user enable gpg-agent.socket gpg-agent-extra.socket gpg-agent-browser.socket dirmngr.socket
52 systemctl --user start gpg-agent.socket gpg-agent-extra.socket gpg-agent-browser.socket dirmngr.socket
56 ln -sfT $(APATH)/zshrc ~/.zshrc
57 ln -sfT $(APATH)/zprofile ~/.zprofile
58 ln -sfT $(APATH)/zshenv ~/.zshenv
59 ln -sfT $(APATH)/zsh ~/.config/zsh
64 ln -sfT $(APATH)/xprofile ~/.xprofile
68 ln -sfT $(APATH)/dircolors ~/.config/dircolors
72 ln -sfT $(APATH)/urxvt ~/.config/urxvt
76 @if [[ -e ~/$@ && ! -L ~/$@ ]]; then \
77 if [[ -d $@ ]]; then \
84 ln -sfT $(APATH)/$@ ~/$@
87 @if [[ -e ~/.$@ && ! -L ~/.$@ ]]; then \
88 if [[ -d .$@ ]]; then \
95 ln -sfT $(APATH)/$@ ~/.$@
97 $(CONFIGFILES): ~/.config
98 @if [[ -e ~/.config/$@ && ! -L ~/.config/$@ ]]; then \
99 if [[ -d .config/$@ ]]; then \
100 cp -r ~/.config/$@/* $@; \
102 cp -r ~/.config/$@ $@; \
104 rm -r ~/.config/$@; \
106 ln -sfT $(APATH)/$@ ~/.config/$@