]> git.rmz.io Git - dotfiles.git/blobdiff - Makefile
vim: add loupe plugin to staging
[dotfiles.git] / Makefile
index cfbb170f0724598fb0e04a3265d67b6c97b6d9a8..88e4ab30aa48b1e8ce5ca9df64defa213b1beaca 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,30 @@
 APATH := $(realpath .)
-RPATH := $(subst $(wildcard ~/),,$(APATH))
 
 FILES := bin
-DOTFILES := aliases bash* conky* flexget git* vim* xbindkeysrc Xmodmap zsh*
-CONFIGFILES := retroarch
+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
 
 .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
 install: $(FILES) $(DOTFILES) $(CONFIGFILES)
 
+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
+
 $(FILES): 
        @if [[ -e ~/$@ && ! -L ~/$@ ]]; then \
            if [[ -d $@ ]]; then \
@@ -17,7 +34,7 @@ $(FILES):
            fi; \
            rm -r ~/$@; \
        fi; 
-       ln -sfT $(RPATH)/$@ ~/$@
+       ln -sfT $(APATH)/$@ ~/$@
 
 $(DOTFILES): 
        @if [[ -e ~/.$@ && ! -L ~/.$@ ]]; then \
@@ -28,7 +45,7 @@ $(DOTFILES):
            fi; \
            rm -r ~/.$@; \
        fi; 
-       ln -sfT $(RPATH)/$@ ~/.$@
+       ln -sfT $(APATH)/$@ ~/.$@
 
 $(CONFIGFILES): 
        @if [[ -e ~/.config/$@ && ! -L ~/.config/$@ ]]; then \
@@ -39,4 +56,4 @@ $(CONFIGFILES):
            fi; \
            rm -r ~/.config/$@; \
        fi; 
-       ln -sfT $(RPATH)/$@ ~/.config/$@
+       ln -sfT $(APATH)/$@ ~/.config/$@