Makefile: disable default goal
This commit is contained in:
parent
ee0c30cbe5
commit
28d623cf98
4
Makefile
4
Makefile
@ -63,6 +63,10 @@ execute = \
|
|||||||
script=$$(echo "$$result" | jq -r .) && \
|
script=$$(echo "$$result" | jq -r .) && \
|
||||||
echo "$$script" | PS5=% sh
|
echo "$$script" | PS5=% sh
|
||||||
|
|
||||||
|
ifeq ($(MAKECMDGOALS),)
|
||||||
|
$(error No goals specified)
|
||||||
|
endif
|
||||||
|
|
||||||
# usage: make deploy system=foo [target_host=bar]
|
# usage: make deploy system=foo [target_host=bar]
|
||||||
deploy: ssh ?= ssh
|
deploy: ssh ?= ssh
|
||||||
deploy:
|
deploy:
|
||||||
|
Loading…
Reference in New Issue
Block a user