From c8c4a95015cc6dba45511a2cfb3eb56553156a42 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 30 Jan 2022 00:12:19 +0300 Subject: [PATCH] tweaking Makefile... Signed-off-by: Alex A. Naanou --- Viewer/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Viewer/Makefile b/Viewer/Makefile index a5b49aea..ef8ba63d 100755 --- a/Viewer/Makefile +++ b/Viewer/Makefile @@ -294,9 +294,11 @@ PROJECT_FILES = package.json # replace .less with .css making them build targets... CSS_FILES := $(patsubst %.less,%.css,$(wildcard css/*.less)) HTML_FILES := $(wildcard *.html) +GENERATED_JS_FILES := version.js ROOT_JS_FILES := $(wildcard *.js) version.js # NOTE: this is only used for make change/dependency tracking checking... JS_FILES := $(ROOT_JS_FILES) \ + $(GENERATED_JS_FILES) \ $(wildcard $(DOMAIN_DIR)/*.js) \ $(wildcard $(FEATURES_DIR)/*.js) \ $(wildcard $(LIB_DIR)/*.js) \ @@ -470,7 +472,7 @@ run: electron-run .PHONY: clean clean: ## Clean the BUILD_DIR directory - $(RM) $(BUILD_DIR) + $(RM) $(BUILD_DIR) $(GENERATED_JS_FILES) .PHONY: clean-dist