From: Samir Benmendil Date: Thu, 10 Oct 2019 10:11:37 +0000 (+0100) Subject: Makefile: link weechat properly in XDG_CONFIG_HOME X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/8ddfcabcec8621ceb769bf073f804a386394a04d?ds=sidebyside Makefile: link weechat properly in XDG_CONFIG_HOME --- diff --git a/Makefile b/Makefile index 12dcded..6ba4acf 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ XDG_CACHE_HOME ?= ~/.cache XDG_DATA_HOME ?= ~/.local/share FILES := bin -DOTFILES := goobookrc msmtp* profile tmux.conf weechat Xresources +DOTFILES := goobookrc msmtp* profile tmux.conf Xresources CONFIGFILES := compton.conf mpv offlineimap ranger retroarch xbindkeys xkb .PHONY: core_files @@ -94,6 +94,12 @@ xprofile: ln -sfT $(APATH)/xprofile ~/.xprofile .PHONY: xprofile +weechat: $(XDG_CONFIG_HOME) $(XDG_CACHE_HOME) + ln -sfT $(APATH)/weechat $(XDG_CONFIG_HOME)/weechat + mkdir -p $(XDG_CACHE_HOME)/weechat +.PHONY: weechat + + zsh: $(XDG_CONFIG_HOME) ln -sfT $(APATH)/zshrc ~/.zshrc ln -sfT $(APATH)/zshenv ~/.zshenv