X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/597f492caf7440699e8da0ae5bdef6499d3b2f2c..2983793fb38ae06dface67c895bf85ff37a7a05c:/Makefile diff --git a/Makefile b/Makefile index cfbb170..790826f 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 Xmodmap Xresources xprofile zsh* +CONFIGFILES := retroarch compton.conf mimeo.conf .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/$@