X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/767c6733dfa1928e55d12ae6c53ff070579e6e65..9554cbb8fb8133c65b83c80c59f48b226c1a2b92:/Makefile diff --git a/Makefile b/Makefile index 8427708..0a2513a 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,60 @@ APATH := $(realpath .) FILES := bin -DOTFILES := aliases bash* conky* flexget git* vim* xbindkeysrc Xmodmap zsh* -CONFIGFILES := retroarch +DOTFILES := conky* goobookrc msmtp* mutt profile tmux.conf weechat Xresources +CONFIGFILES := aliases compton.conf git gnupg mpv offlineimap ranger retroarch systemd xbindkeys xkb .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES) install: $(FILES) $(DOTFILES) $(CONFIGFILES) +~/.config: + mkdir -p ~/.config + +vim: + ln -sfT $(APATH)/vim ~/.config/vim + mkdir -p ~/.local/share/vim + git clone https://github.com/gmarik/vundle ~/.local/share/vim/vundle +.PHONY: vim + +awesome: ~/.config + ln -sfT $(APATH)/awesome ~/.config/awesome +.PHONY: awesome + +qutebrowser: ~/.config + ln -sfT $(APATH)/qutebrowser ~/.config/qutebrowser + mkdir -p ~/downloads +.PHONY: qutebrowser + +mpd: + ln -sfT $(APATH)/mpd ~/.config/mpd + mkdir -p ~/.local/share/mpd/playlists +.PHONY: mpd + +ncmpcpp: + ln -sfT $(APATH)/ncmpcpp ~/.config/ncmpcpp + mkdir -p ~/.local/share/mpd/lyrics +.PHONY: ncmpcpp + +zsh: + ln -sfT $(APATH)/zshrc ~/.zshrc + ln -sfT $(APATH)/zprofile ~/.zprofile + ln -sfT $(APATH)/zshenv ~/.zshenv + ln -sfT $(APATH)/zsh ~/.config/zsh + mkdir -p ~/.cache/zsh +.PHONY: zsh + +xprofile: + ln -sfT $(APATH)/xprofile ~/.xprofile +.PHONY: xprofile + +dircolors: + ln -sfT $(APATH)/dircolors ~/.config/dircolors +.PHONY: dircolors + +urxvt: + ln -sfT $(APATH)/urxvt ~/.config/urxvt +.PHONY: urxvt + $(FILES): @if [[ -e ~/$@ && ! -L ~/$@ ]]; then \ if [[ -d $@ ]]; then \ @@ -29,7 +77,7 @@ $(DOTFILES): fi; ln -sfT $(APATH)/$@ ~/.$@ -$(CONFIGFILES): +$(CONFIGFILES): ~/.config @if [[ -e ~/.config/$@ && ! -L ~/.config/$@ ]]; then \ if [[ -d .config/$@ ]]; then \ cp -r ~/.config/$@/* $@; \