21 lines
450 B
Makefile
21 lines
450 B
Makefile
# -*- mode: makefile-gmake; -*-
|
|
SRC := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
|
|
|
include ../lib/shared.mk
|
|
|
|
CONFIG_DIR := $(XDG_DIR)/kitty
|
|
|
|
install: | init update
|
|
|
|
init:
|
|
if (( $$+commands[kitty] )) ; then
|
|
$(report) header "Setting up kitty"
|
|
$(mk_link) $(SRC) $(CONFIG_DIR)
|
|
else
|
|
$(report) debug "kitty not installed. Skipping."
|
|
fi
|
|
|
|
remove:
|
|
$(report) header "removing up kitty"
|
|
rm -r $(CONFIG_DIR) ; $(report) "removed dir"
|