diff options
| author | Teddy Wing | 2021-03-21 18:08:40 +0100 |
|---|---|---|
| committer | Teddy Wing | 2021-03-21 18:17:46 +0100 |
| commit | 3dd31fad74fe802b1a3a653dfb8a8ff49da30779 (patch) | |
| tree | 274af97633ae7d2490768850a246ef9df3489097 /Makefile | |
| parent | 4c6de580bed38efd076a89fed0ae1fbafdb568f0 (diff) | |
| download | Peniquitous-3dd31fad74fe802b1a3a653dfb8a8ff49da30779.tar.bz2 | |
Makefile: Ensure Mousetrap license is commented
Forgot to comment out the Mousetrap license in the final build file.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -22,11 +22,18 @@ all: peniquitous.user.js build: mkdir -p $@ +build/mousetrap-license.js: node_modules/mousetrap/LICENSE + sed \ + -e 's,^\(.\),// \1,' \ + -e 's,^$$,//,' \ + $< \ + > $@ + build/key-event.js: node_modules/mousetrap/tests/libs/key-event.js \ -node_modules/mousetrap/LICENSE \ +build/mousetrap-license.js \ | build sed -e '/^(function/d' -e '$$d' $< > $@ - cat node_modules/mousetrap/LICENSE $@ > $@.tmp + cat build/mousetrap-license.js $@ > $@.tmp mv $@.tmp $@ build/peniquitous.js: peniquitous.js | build |
