diff --git a/Makefile b/Makefile index 0c36179..d79c39c 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ SRC = harvester.js TARGET = bookmarklet.js all: install lint $(TARGET) - + # Compile/minify bookmarklet $(TARGET): $(SRC) @@ -20,8 +20,8 @@ lint: # Install required dependencies install: - @(command -v uglifyjs 2>&1 >/dev/null) || npm -g uglify-es - @(command -v eslint 2>&1 >/dev/null) || npm -g eslint + @(command -v uglifyjs 2>&1 >/dev/null) || npm install -g uglify-es + @(command -v eslint 2>&1 >/dev/null) || npm install -g eslint # Delete generated files