Fix broken linking in Makefile

This commit is contained in:
Evie Litherland-Smith 2023-03-31 13:14:08 +01:00
parent 680f60db81
commit 553131d9e0

View file

@ -28,8 +28,8 @@ $(CONFIG_DIR) $(SSH_DIR):
link: $(CONFIG_TARGETS) $(SSH_DIR)/config.d $(HOME)/.inputrc
$(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/%
$(SSH_DIR)/*: $(SSH_DIR)/%: ssh/%
$(HOME)/*: $(HOME)/%: %
$(SSH_DIR)/config.d: $(SSH_DIR)/%: ssh/%
$(HOME)/.inputrc: $(HOME)/%: %
$(CONFIG_TARGETS) $(SSH_DIR)/config.d $(HOME)/.inputrc:
ln -s $(PWD)/$? $@