make install: make ssh configurable
This commit is contained in:
parent
1497ee7182
commit
c338330f06
2
Makefile
2
Makefile
@ -29,7 +29,7 @@ eval eval.:;@$(call evaluate)
|
||||
eval.%:;@$(call evaluate,-A $*)
|
||||
|
||||
# usage: make install system=foo [target_host=bar]
|
||||
install: ssh = ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
|
||||
install: ssh ?= ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
|
||||
install:
|
||||
$(ssh) $(target_user)@$(target_host) \
|
||||
env target_path=$(target_path) \
|
||||
|
Loading…
Reference in New Issue
Block a user