From db4758bddc8968c2839ac62d40ae25819019fdd7 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Tue, 12 Mar 2019 20:29:00 +0300 Subject: [PATCH] minor tweak... Signed-off-by: Alex A. Naanou --- ui (gen4)/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ui (gen4)/Makefile b/ui (gen4)/Makefile index 34e81c44..03555408 100755 --- a/ui (gen4)/Makefile +++ b/ui (gen4)/Makefile @@ -274,7 +274,6 @@ DEPENDENCIES = node npm wget sed printf fgrep zip unzip zipnote git \ # "## Normal help text..." # # "### Section title..." -# # "##----- Section title ---" # .PHONY: help @@ -335,7 +334,7 @@ test-dist: electron-test-dist # XXX should we build what we need to deploy??? # XXX can this be done purely in make??? .PHONY: deploy -deploy: ## Run ./scripts/deploy.sh on contents of DIST_DIR, does nothing if neither exists. +deploy: ## Run ./scripts/deploy.sh on contents of DIST_DIR deploy: $(wildcard $(DIST_DIR)/$(APP_NAME)-*.zip) $(wildcard scripts/deploy.sh) @[ -e ./scripts/deploy.sh ] \ && for f in $(DIST_DIR)/$(APP_NAME)-*.zip ; do \ @@ -343,7 +342,7 @@ deploy: $(wildcard $(DIST_DIR)/$(APP_NAME)-*.zip) $(wildcard scripts/deploy.sh) && bash ./scripts/deploy.sh "$${f}" \ || echo "Nothing to deploy." ; \ done \ - || echo Deploy script not found: scripts/deploy.sh + || echo Deploy script not found: ./scripts/deploy.sh .PHONY: run