diff options
author | Andrew Cady <d@jerkface.net> | 2020-05-28 18:20:35 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-05-28 18:25:26 -0400 |
commit | 9fbd4a9ea4ce0ef8df6b661b0858bfb16ba8d326 (patch) | |
tree | 2a3dea0bdf43dedba8e040debbd42d7ff17c622f /Makefile | |
parent | bff2ac56b6c5cc969a5219c5a5bf608439436983 (diff) |
Dynmically generate ~/.gitconfig
Ancient versions of 'git' would use the unix passwd identity as the
default author/committer. This dynamically-generated ~/.gitconfig
does the same.
Might as well set excludesfile = ~/.config/git/ignore
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -6,6 +6,9 @@ DOTFILES := $(shell find dot \( -type f -o -type l \) -not -name '.*') | |||
6 | 6 | ||
7 | DESTINATIONS = $(DOTFILES:dot/%=${HOME}/.%) | 7 | DESTINATIONS = $(DOTFILES:dot/%=${HOME}/.%) |
8 | 8 | ||
9 | ${HOME}/.gitconfig: | ||
10 | ./src/gitconfig.sh | ||
11 | |||
9 | EXECUTABLES = $(filter dot/local/bin/%, $(DOTFILES)) | 12 | EXECUTABLES = $(filter dot/local/bin/%, $(DOTFILES)) |
10 | 13 | ||
11 | $(HOME)/.%: dot/% | 14 | $(HOME)/.%: dot/% |