This includes a reference to diff-so-fancy which does not exist on any of my current servers. I will need to update this.
		
			
				
	
	
		
			18 lines
		
	
	
		
			318 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			318 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
SRC_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
 | 
						|
SOURCE :=  $(SRC_DIR)/gitconfig
 | 
						|
TARGET :=  ~/.gitconfig
 | 
						|
 | 
						|
include ../lib/shared.mk
 | 
						|
 | 
						|
install: | init update
 | 
						|
 | 
						|
init:
 | 
						|
	$(info => Setting up gitconfig)
 | 
						|
	$(mk_link) $(SOURCE) $(TARGET)
 | 
						|
 | 
						|
update:
 | 
						|
 | 
						|
remove:
 | 
						|
	$(info => Remvoing gitconfig)
 | 
						|
	$(rm_link) $(TARGET)
 |