]> git.rmz.io Git - dotfiles.git/commitdiff
Makefile: add target for git
authorSamir Benmendil <samir.benmendil@ultrahaptics.com>
Fri, 2 Mar 2018 09:43:38 +0000 (09:43 +0000)
committerSamir Benmendil <samir.benmendil@ultrahaptics.com>
Fri, 2 Mar 2018 09:43:38 +0000 (09:43 +0000)
Makefile

index df4c443e41a1ad61665fef0a427a496955563e0e..d8da053456ba8fd63a0ab28821b77da40fc1bf54 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ APATH := $(realpath .)
 
 FILES := bin
 DOTFILES := goobookrc msmtp* profile tmux.conf weechat Xresources
 
 FILES := bin
 DOTFILES := goobookrc msmtp* profile tmux.conf weechat Xresources
-CONFIGFILES := 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)
 
 .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
 install: $(FILES) $(DOTFILES) $(CONFIGFILES)
@@ -10,6 +10,10 @@ install: $(FILES) $(DOTFILES) $(CONFIGFILES)
 ~/.config:
        mkdir -p ~/.config
 
 ~/.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
 vim: ~/.config
        ln -sfT $(APATH)/vim ~/.config/vim
        mkdir -p ~/.local/share/vim