aboutsummaryrefslogblamecommitdiffstats
path: root/git/Makefile
blob: 3f9f16184cd2953f0ca510817d6773b9b590c170 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
       
                    

        

                                                                




                                                                           

                                       



                                               
.POSIX:
include ../common.mk

install:
	mkdir -p -- ~/.config/git
	cat config ../.secrets/git/config > ~/.config/git/config
	mkdir -p -- ~/.config/bash/aliases.d
	test ! -d ~/.config/bash/aliases.d/git
	ln -sf -- ~/.dotfiles/git/bash-aliases ~/.config/bash/aliases.d/git

uninstall:
	-unlink -- ~/.config/git/config
	-rmdir -- ~/.config/git
	-unlink -- ~/.config/bash/aliases.d/git
	-rmdir -- ~/.config/bash/aliases.d

.PHONY: install uninstall