]> git.rmz.io Git - dotfiles.git/blobdiff - Makefile
Makefile: add vim, awesome and qutebrowser recipes
[dotfiles.git] / Makefile
index 877c50c8e78f1e936dd1232f73d76341809cd0e3..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
@@ -25,10 +43,18 @@ 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 \
@@ -51,7 +77,7 @@ $(DOTFILES):
        fi; 
        ln -sfT $(APATH)/$@ ~/.$@
 
-$(CONFIGFILES): 
+$(CONFIGFILES):  ~/.config
        @if [[ -e ~/.config/$@ && ! -L ~/.config/$@ ]]; then \
            if [[ -d .config/$@ ]]; then \
              cp -r ~/.config/$@/* $@; \