-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (23 loc) · 946 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
all: LIBRARIES manifest.json
manifest.json: manifest.js package.json
node manifest.js
LIBRARIES: html/js/libs/ace html/js/libs/mathquill html/js/libs/jquery MARKED_LIB
html/js/libs/ace: node_modules/ace-builds/src-min
mkdir -p html/js/libs/
cp -r node_modules/ace-builds/src-min html/js/libs/ace
html/js/libs/mathquill: node_modules/mathquill/build
mkdir -p html/js/libs/
cp -r node_modules/mathquill/build html/js/libs/mathquill
node_modules/mathquill/build:
cd node_modules/mathquill/; make
MARKED_LIB: html/js/libs/marked/lib/marked.js
html/js/libs/marked/lib/marked.js: node_modules/marked/lib/marked.js
mkdir -p html/js/libs/marked/lib/
cp node_modules/marked/lib/marked.js html/js/libs/marked/lib/
html/js/libs/jquery: node_modules/jquery/dist
mkdir -p html/js/libs/
cp -r node_modules/jquery/dist html/js/libs/jquery
PACKAGE: NoTeX.zip
NoTeX.zip: all
rm -rf NoTeX.zip
zip NoTeX.zip -r manifest.json background.js html