]> git.rmz.io Git - dotfiles.git/commitdiff
Makefile: link weechat properly in XDG_CONFIG_HOME
authorSamir Benmendil <samir@fppnt.com>
Thu, 10 Oct 2019 10:11:37 +0000 (11:11 +0100)
committerSamir Benmendil <me@rmz.io>
Thu, 10 Oct 2019 10:54:09 +0000 (11:54 +0100)
Makefile

index 12dcded3f0f17d82f71368288562bd4e9bd6d66a..6ba4acf81826151c1ef66f776f7be0655f8a4f4a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ XDG_CACHE_HOME  ?= ~/.cache
 XDG_DATA_HOME   ?= ~/.local/share
 
 FILES := bin
 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
 CONFIGFILES := compton.conf mpv offlineimap ranger retroarch xbindkeys xkb
 
 .PHONY: core_files
@@ -94,6 +94,12 @@ xprofile:
        ln -sfT $(APATH)/xprofile ~/.xprofile
 .PHONY: 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
 zsh: $(XDG_CONFIG_HOME)
        ln -sfT $(APATH)/zshrc ~/.zshrc
        ln -sfT $(APATH)/zshenv ~/.zshenv