From 659b530381c6a3108752aed2b7c6c453aa450b01 Mon Sep 17 00:00:00 2001 From: Eugene Bujak Date: Fri, 7 Sep 2018 16:14:25 +0300 Subject: [PATCH] makefile -- use npm --prefix syntax instead of doing cd into subdir --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 864e6361..88c65401 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,8 @@ all: build build: AdguardDNS coredns $(STATIC): - cd client; npm install - cd client; npm run build-prod + npm --prefix client install + npm --prefix client run build-prod AdguardDNS: $(STATIC) *.go echo mkfile_dir = $(mkfile_dir)