X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/2f4b8a959417d20015433571154384d08564723c..617f95512ebdd81038185550c2540e03c4026df2:/Makefile diff --git a/Makefile b/Makefile index e0b3912..034683d 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,30 @@ APATH := $(realpath .) FILES := bin -DOTFILES := conky* goobookrc msmtp* mutt profile tmux.conf weechat Xresources xprofile -CONFIGFILES := aliases compton.conf git gnupg mpv offlineimap ranger retroarch systemd vim xbindkeys xkb +DOTFILES := conky* goobookrc msmtp* mutt profile tmux.conf weechat Xresources +CONFIGFILES := aliases compton.conf git gnupg mpv offlineimap ranger retroarch 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 @@ -17,6 +35,10 @@ ncmpcpp: mkdir -p ~/.local/share/mpd/lyrics .PHONY: ncmpcpp +systemd: + ln -sfT $(APATH)/$@ ~/.config/$@ +.PHONY: systemd + zsh: ln -sfT $(APATH)/zshrc ~/.zshrc ln -sfT $(APATH)/zprofile ~/.zprofile @@ -33,6 +55,10 @@ 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 \ @@ -55,7 +81,7 @@ $(DOTFILES): fi; ln -sfT $(APATH)/$@ ~/.$@ -$(CONFIGFILES): +$(CONFIGFILES): ~/.config @if [[ -e ~/.config/$@ && ! -L ~/.config/$@ ]]; then \ if [[ -d .config/$@ ]]; then \ cp -r ~/.config/$@/* $@; \