makefile -- use npm --prefix syntax instead of doing cd into subdir

This commit is contained in:
Eugene Bujak 2018-09-07 16:14:25 +03:00
parent 1b5748e328
commit 659b530381
1 changed files with 2 additions and 2 deletions

View File

@ -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)