From 59f7900cfd288d815f62f8c6cb3be9d0a05e4a81 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 3 Apr 2023 16:46:18 +0100 Subject: [PATCH] Link i3_config --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 839eea88..5840dcad 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,6 @@ SSH_ITEMS := $(wildcard ssh/*) SSH_TARGETS := $(SSH_ITEMS:ssh/%=$(SSH_DIR)/%) LAZY_REPO := https://github.com/folke/lazy.nvim.git -PYENV_DIR := $(if $(PYENV_ROOT), $(PYENV_ROOT), $(HOME)/.pyenv) .PHONY: default all clean check directories link install @@ -25,12 +24,13 @@ directories: $(CONFIG_DIR) $(SSH_DIR) $(CONFIG_DIR) $(SSH_DIR): mkdir -p $@ -link: $(CONFIG_TARGETS) $(SSH_DIR)/config.d $(HOME)/.inputrc +link: $(CONFIG_TARGETS) $(SSH_DIR)/config.d $(HOME)/.inputrc $(HOME)/.i3_scripts $(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/% $(SSH_DIR)/config.d: $(SSH_DIR)/%: ssh/% $(HOME)/.inputrc: $(HOME)/%: % -$(CONFIG_TARGETS) $(SSH_DIR)/config.d $(HOME)/.inputrc: +$(HOME)/.i3_scripts: $(HOME)/.%: % +$(CONFIG_TARGETS) $(SSH_DIR)/config.d $(HOME)/.inputrc $(HOME)/.i3_scripts: ln -s $(PWD)/$? $@ install: $(LAZY_DIR)