From 8ddfcabcec8621ceb769bf073f804a386394a04d Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 10 Oct 2019 11:11:37 +0100 Subject: [PATCH] Makefile: link weechat properly in XDG_CONFIG_HOME --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.48.1