diff options
| author | Teddy Wing | 2021-03-21 17:22:05 +0100 |
|---|---|---|
| committer | Teddy Wing | 2021-03-21 17:47:35 +0100 |
| commit | 5ba6d5d6b508c535efb4ab43b02c6c21bfd49185 (patch) | |
| tree | 87aaed5aaa980259a3c710225bc874f8d0933f87 /Makefile | |
| parent | 43f5b001ca73275c599a2feafa22a80aa0b433dd (diff) | |
| download | Peniquitous-5ba6d5d6b508c535efb4ab43b02c6c21bfd49185.tar.bz2 | |
peniquitous.user.js: Add Mousetrap license to key-event code
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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' $< > $@ |
