dotfiles/tmux/makefile

20 lines
410 B
Makefile
Raw Permalink Normal View History

# -*- mode: makefile-gmake; -*-
SRC_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
SOURCE := $(SRC_DIR)/tmux.conf
TARGET := ~/.tmux.conf
include ../lib/shared.mk
2021-11-28 21:33:24 +00:00
up:
if (( ! $$+commands[tmux] )) ; then
$(report) header "tmux not installed"
else
$(report) header "tmux init"
$(mk_link) $(SOURCE) $(TARGET)
fi
2021-11-28 21:33:24 +00:00
down:
$(report) header "Removing tmux config"
$(rm_link) $(TARGET)