From a335e1be9627eda7a5d47e9950464ace876666c2 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 31 Jan 2022 20:53:18 +0300 Subject: [PATCH] initial build process cleanup... Signed-off-by: Alex A. Naanou --- Viewer/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Viewer/Makefile b/Viewer/Makefile index 6fc4ca14..2483dca6 100755 --- a/Viewer/Makefile +++ b/Viewer/Makefile @@ -157,9 +157,15 @@ VERSION := $(APP_VERSION) DATE := $(strip $(shell date "+%Y%m%d%H%M")) COMMIT := $(strip $(shell git rev-parse HEAD)) + + +# do not install stuff unless the eser explicitly asks for it... +NPX := npx --no + + # less... # -LESSC := npx lessc +LESSC := $(NPX) lessc # Electron... @@ -175,9 +181,9 @@ LESSC := npx lessc # 2) set path and launch a child make -- not sure how to # do this... # -ELECTRON := npx electron -ELECTRON_REBUILD := npx electron-rebuild -ASAR := npx asar +ELECTRON := $(NPX) electron +ELECTRON_REBUILD := $(NPX) electron-rebuild +ASAR := $(NPX) asar ELECTRON_VERSION_FALLBACK ?= v1.8.1 ELECTRON_VERSION := $(strip $(shell \ $(ELECTRON) -v 2> /dev/null \