Skip to content

Commit

Permalink
Use bash and npm from variable in Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Harry Chen <[email protected]>
  • Loading branch information
Harry-Chen committed Jun 12, 2020
1 parent 83fafd3 commit 7a84773
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ SOURCES = $(PACKAGE).ins $(PACKAGE).dtx
CLSFILE = dtx-style.sty $(PACKAGE).cls

LATEXMK = latexmk
SHELL := /bin/bash
NPM ?= npm

# make deletion work on Windows
ifdef SystemRoot
Expand Down Expand Up @@ -80,4 +82,4 @@ else
endif

dist: check all-dev
npm run build -- --version=$(version)
$(NPM) run build -- --version=$(version)

0 comments on commit 7a84773

Please sign in to comment.