aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fa4cc6c..28077ce 100644
--- a/Makefile
+++ b/Makefile
@@ -22,8 +22,12 @@ all: peniquitous.user.js
build:
mkdir -p $@
-build/key-event.js: node_modules/mousetrap/tests/libs/key-event.js | build
+build/key-event.js: node_modules/mousetrap/tests/libs/key-event.js \
+node_modules/mousetrap/LICENSE \
+| build
sed -e '/^(function/d' -e '$$d' $< > $@
+ cat node_modules/mousetrap/LICENSE $@ > $@.tmp
+ mv $@.tmp $@
build/peniquitous.js: peniquitous.js | build
sed -e '/^(function/d' -e '$$d' $< > $@