]> git.rmz.io Git - dotfiles.git/blobdiff - Makefile
Makefile: add target for git
[dotfiles.git] / Makefile
index eb5f29b39a80721db4254bc222475da86ebc9910..d8da053456ba8fd63a0ab28821b77da40fc1bf54 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ APATH := $(realpath .)
 
 FILES := bin
 DOTFILES := goobookrc msmtp* profile tmux.conf weechat Xresources
-CONFIGFILES := aliases compton.conf git mpv offlineimap ranger retroarch xbindkeys xkb
+CONFIGFILES := compton.conf mpv offlineimap ranger retroarch xbindkeys xkb
 
 .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
 install: $(FILES) $(DOTFILES) $(CONFIGFILES)
@@ -10,6 +10,10 @@ install: $(FILES) $(DOTFILES) $(CONFIGFILES)
 ~/.config:
        mkdir -p ~/.config
 
+git: ~/.config
+       ln -sfT $(APATH)/git ~/.config/git
+.PHONY: git
+
 vim: ~/.config
        ln -sfT $(APATH)/vim ~/.config/vim
        mkdir -p ~/.local/share/vim
@@ -61,6 +65,7 @@ zsh: ~/.config
        ln -sfT $(APATH)/zprofile ~/.zprofile
        ln -sfT $(APATH)/zshenv ~/.zshenv
        ln -sfT $(APATH)/zsh ~/.config/zsh
+       ln -sfT $(APATH)/aliases ~/.config/aliases
        mkdir -p ~/.cache/zsh
 .PHONY: zsh