From 1ce773fb936e9e6be40cd473ec023153a7a78d94 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 21 Mar 2022 04:37:42 +0300 Subject: [PATCH] ... Signed-off-by: Alex A. Naanou --- Viewer/Makefile | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/Viewer/Makefile b/Viewer/Makefile index 4fd47b93..8af863e0 100644 --- a/Viewer/Makefile +++ b/Viewer/Makefile @@ -163,20 +163,6 @@ SHELL := bash -# set path to use local tools... -# NOTE this does not affect where make is seraching for commands... -# XXX this breaks which when looking for egrep/fgrep... -#export PATH := $(shell pwd)/node_modules/.bin/:$(PATH) - - -# Warn user... -# -# This is mainly due to npx needing to cache things... -IGNORE := $(if $(filter node_modules,$(wildcard *)),, \ - $(info Missing ./node_modules/: Running make on a clean repository \ - may take some time... )) - - # variables... @@ -199,6 +185,12 @@ COMMIT := $(strip $(shell git rev-parse HEAD)) NPX := npx --yes +# Warn user... +IGNORE := $(if $(filter node_modules,$(wildcard *)),, \ + $(info Missing ./node_modules/: Running make on a clean repository \ + may take some time... )) + + # less... # LESSC := $(NPX) lessc