2019-05-03 23:41:39 +00:00
|
|
|
SRC_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
|
|
|
SOURCE := $(SRC_DIR)/gitconfig
|
|
|
|
TARGET := ~/.gitconfig
|
|
|
|
|
|
|
|
include ../lib/shared.mk
|
|
|
|
|
|
|
|
install: | init update
|
|
|
|
|
|
|
|
init:
|
2020-03-09 17:30:45 +00:00
|
|
|
$(report) header "Setting up gitconfig"
|
2019-05-03 23:41:39 +00:00
|
|
|
$(mk_link) $(SOURCE) $(TARGET)
|
|
|
|
|
|
|
|
update:
|
|
|
|
|
|
|
|
remove:
|
2020-03-09 17:30:45 +00:00
|
|
|
$(report) header "Removing gitconfig"
|
2019-05-03 23:41:39 +00:00
|
|
|
$(rm_link) $(TARGET)
|