Make linking more robust
This commit is contained in:
parent
7709fef79e
commit
717acf5ddc
4
Makefile
4
Makefile
|
@ -35,10 +35,10 @@ pacman:
|
|||
$(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/%
|
||||
$(SSH_TARGETS): $(SSH_DIR)/%: ssh/%
|
||||
$(CONFIG_TARGETS) $(SSH_TARGETS):
|
||||
ln -s $(PWD)/$? $@
|
||||
ln -s $(PWD)/$? -t $$(dirname $@)
|
||||
|
||||
$(HOME)/.profile: .profile
|
||||
ln -s $(PWD)/$? $@
|
||||
ln -s $(PWD)/$? -t $$(dirname $@)
|
||||
|
||||
$(LAZY_DIR):
|
||||
git clone --depth 1 $(LAZY_REPO) $@
|
||||
|
|
Loading…
Reference in a new issue