From 14fe58ac4c4e7b5b36d5f4d2fd880fee8f4a485c Mon Sep 17 00:00:00 2001 From: Ueda Naoaki Date: Thu, 2 Feb 2023 09:41:55 +0900 Subject: Set order of prerequisites to exec guard-process --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b688505..bdff4dd 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ TARGET_TO_INSTALL = installed-on-$(ASUS_HOST) .PHONY: install install: $(TARGET_TO_INSTALL) -$(TARGET_TO_INSTALL): tailscaled tailscale install.sh | guard-install $(init_file) +$(TARGET_TO_INSTALL): guard-install .WAIT tailscaled tailscale install.sh | $(init_file) @set -eu; \ remote_temp_dir=$$(ssh $(ASUS_HOST) -- mktemp -d); \ if [[ -z "$$remote_temp_dir" ]] ; then \ @@ -57,3 +57,6 @@ downloaded: ver .PHONY: clean clean: rm -f *.tgz $(init_file) tailscale tailscaled ver downloaded + +# for backward-compatible +.WAIT: -- cgit v1.2.3-54-g00ecf