This avoids requiring 'jpm' to be installed globally.
---
Makefile.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index 35e9692..e66994f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -50,6 +50,8 @@ enabled already, you may, inside your Mozilla-browser, need
to go in \
the menu in Tools > Add-ons and click enable where you see LibreJS. \
"
+NODE_BIN = ./node_modules/.bin
+JPM = $(NODE_BIN)/jpm
JPM_ARGS =
all: xpi
@@ -109,7 +111,7 @@ xpi: librejs.xpi
librejs.xpi: jpm
npm i
- jpm xpi
+ $(JPM) xpi
.PHONY: all install install-pdf install-dvi install-html uninstall clean \
distclean info pdf dvi html xpi txt
--
2.9.4