]> git.rmz.io Git - dotfiles.git/blobdiff - Makefile
Makefile: add vim, awesome and qutebrowser recipes
[dotfiles.git] / Makefile
index 8caeb2f9e8e0889b58b40c1210c17e49dc8bd89a..0a2513a212b28c351d6383a4870aef3fe3d311c5 100644 (file)
--- 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 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
@@ -59,7 +77,7 @@ $(DOTFILES):
        fi; 
        ln -sfT $(APATH)/$@ ~/.$@
 
-$(CONFIGFILES): 
+$(CONFIGFILES):  ~/.config
        @if [[ -e ~/.config/$@ && ! -L ~/.config/$@ ]]; then \
            if [[ -d .config/$@ ]]; then \
              cp -r ~/.config/$@/* $@; \