dotfiles/git/makefile
2021-11-28 16:33:24 -05:00

17 lines
341 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)
up: init
down:
$(report) header "Removing gitconfig"
$(rm_link) $(TARGET)