From 9554cbb8fb8133c65b83c80c59f48b226c1a2b92 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Mon, 26 Dec 2016 01:24:47 +0000 Subject: [PATCH] Makefile: add vim, awesome and qutebrowser recipes --- Makefile | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8caeb2f..0a2513a 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 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/$@/* $@; \ -- 2.48.1