X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/597f492caf7440699e8da0ae5bdef6499d3b2f2c..e66fce7a663d4302c5a25b17b1dc8b6c0b80986b:/Makefile diff --git a/Makefile b/Makefile index cfbb170..c9c01e4 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,8 @@ APATH := $(realpath .) -RPATH := $(subst $(wildcard ~/),,$(APATH)) FILES := bin -DOTFILES := aliases bash* conky* flexget git* vim* xbindkeysrc Xmodmap zsh* -CONFIGFILES := retroarch +DOTFILES := aliases bash* conky* flexget git* goobookrc msmtp* mutt ncmpcpp offlineimap* vim* weechat xbindkeysrc Xresources xprofile zsh* +CONFIGFILES := compton.conf mimeo.conf mpd retroarch xkb .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES) install: $(FILES) $(DOTFILES) $(CONFIGFILES) @@ -17,7 +16,7 @@ $(FILES): fi; \ rm -r ~/$@; \ fi; - ln -sfT $(RPATH)/$@ ~/$@ + ln -sfT $(APATH)/$@ ~/$@ $(DOTFILES): @if [[ -e ~/.$@ && ! -L ~/.$@ ]]; then \ @@ -28,7 +27,7 @@ $(DOTFILES): fi; \ rm -r ~/.$@; \ fi; - ln -sfT $(RPATH)/$@ ~/.$@ + ln -sfT $(APATH)/$@ ~/.$@ $(CONFIGFILES): @if [[ -e ~/.config/$@ && ! -L ~/.config/$@ ]]; then \ @@ -39,4 +38,4 @@ $(CONFIGFILES): fi; \ rm -r ~/.config/$@; \ fi; - ln -sfT $(RPATH)/$@ ~/.config/$@ + ln -sfT $(APATH)/$@ ~/.config/$@