4 DOTFILES := conky* goobookrc msmtp* mutt profile tmux.conf weechat Xresources
5 CONFIGFILES := aliases compton.conf git gnupg mpv offlineimap ranger retroarch systemd 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)/awesome ~/.config/awesome
23 qutebrowser: ~/.config
24 ln -sfT $(APATH)/qutebrowser ~/.config/qutebrowser
29 ln -sfT $(APATH)/mpd ~/.config/mpd
30 mkdir -p ~/.local/share/mpd/playlists
34 ln -sfT $(APATH)/ncmpcpp ~/.config/ncmpcpp
35 mkdir -p ~/.local/share/mpd/lyrics
39 ln -sfT $(APATH)/zshrc ~/.zshrc
40 ln -sfT $(APATH)/zprofile ~/.zprofile
41 ln -sfT $(APATH)/zshenv ~/.zshenv
42 ln -sfT $(APATH)/zsh ~/.config/zsh
47 ln -sfT $(APATH)/xprofile ~/.xprofile
51 ln -sfT $(APATH)/dircolors ~/.config/dircolors
55 ln -sfT $(APATH)/urxvt ~/.config/urxvt
59 @if [[ -e ~/$@ && ! -L ~/$@ ]]; then \
60 if [[ -d $@ ]]; then \
67 ln -sfT $(APATH)/$@ ~/$@
70 @if [[ -e ~/.$@ && ! -L ~/.$@ ]]; then \
71 if [[ -d .$@ ]]; then \
78 ln -sfT $(APATH)/$@ ~/.$@
80 $(CONFIGFILES): ~/.config
81 @if [[ -e ~/.config/$@ && ! -L ~/.config/$@ ]]; then \
82 if [[ -d .config/$@ ]]; then \
83 cp -r ~/.config/$@/* $@; \
85 cp -r ~/.config/$@ $@; \
89 ln -sfT $(APATH)/$@ ~/.config/$@