From 43f5b001ca73275c599a2feafa22a80aa0b433dd Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 21 Mar 2021 17:17:31 +0100 Subject: Makefile: Use NPM Mousetrap --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6f5ce16..fa4cc6c 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ # along with this program. If not, see . -IMPORTS := peniquitous.js lib/mousetrap/tests/libs/key-event.js +IMPORTS := peniquitous.js node_modules/mousetrap/tests/libs/key-event.js IMPORTS_BASENAME := $(notdir $(IMPORTS)) all: peniquitous.user.js @@ -22,7 +22,7 @@ all: peniquitous.user.js build: mkdir -p $@ -build/key-event.js: lib/mousetrap/tests/libs/key-event.js | build +build/key-event.js: node_modules/mousetrap/tests/libs/key-event.js | build sed -e '/^(function/d' -e '$$d' $< > $@ build/peniquitous.js: peniquitous.js | build -- cgit v1.2.3