dotfiles/git/makefile
James Patrick bf403d30a1
Use ~/.gitconfig.local for env specific settings
Signing key tooling, machine specific diff tools, etc
2024-08-09 09:59:39 -04:00

18 lines
364 B
Makefile

# -*- mode: makefile-gmake; -*-
SRC_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
SOURCE := $(SRC_DIR)/gitconfig
TARGET := ~/.gitconfig
include ../lib/shared.mk
init:
$(report) header "Setting up gitconfig"
$(mk_link) $(SOURCE) $(TARGET)
touch $(TARGET).local
up: init
down:
$(report) header "Removing gitconfig"
$(rm_link) $(TARGET)