dotfiles/git/makefile

18 lines
364 B
Makefile
Raw Permalink Normal View History

# -*- 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
2021-11-28 21:33:24 +00:00
up: init
2021-11-28 21:33:24 +00:00
down:
$(report) header "Removing gitconfig"
$(rm_link) $(TARGET)