summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUeda Naoaki <nao@uedder.com>2023-02-02 09:41:55 +0900
committerUeda Naoaki <nao@uedder.com>2023-02-02 09:41:55 +0900
commit14fe58ac4c4e7b5b36d5f4d2fd880fee8f4a485c (patch)
tree5c95f38d46ca3852977b8cd78b188a302549efbe
parenta78801c83cec050913efcfd6973cb8bf1e3b0ab8 (diff)
downloadasustor-nas-tailscale-installer-14fe58ac4c4e7b5b36d5f4d2fd880fee8f4a485c.tar.gz
asustor-nas-tailscale-installer-14fe58ac4c4e7b5b36d5f4d2fd880fee8f4a485c.tar.bz2
asustor-nas-tailscale-installer-14fe58ac4c4e7b5b36d5f4d2fd880fee8f4a485c.zip
Set order of prerequisites to exec guard-process
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
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: