diff --git a/Makefile b/Makefile index 637436f0..53db9847 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ all: link install clean: unlink uninstall -link: $(CONFIG_TARGETS) $(SSH_TARGETS) $(THEMES_TARGETS) $(HOME)/.ssh/sockets +link: $(CONFIG_TARGETS) $(SSH_TARGETS) $(THEMES_TARGETS) $(HOME)/.bashrc $(HOME)/.ssh/sockets unlink: for link in $(CONFIG_TARGETS); do rm "$$link"; done @@ -40,7 +40,8 @@ uninstall: $(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/% $(SSH_TARGETS): $(SSH_DIR)/%: ssh/% $(THEMES_TARGETS): $(THEMES_DIR)/%: themes/% -$(CONFIG_TARGETS) $(SSH_TARGETS) $(THEMES_TARGETS): +$(HOME)/.bashrc: $(HOME)/%: % +$(CONFIG_TARGETS) $(SSH_TARGETS) $(THEMES_TARGETS) $(HOME)/.bashrc: ln -s $(PWD)/$? -t $$(dirname $@) $(LAZY_DIR):