Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
13453 | georgesk | 1 | #################################################################### |
2 | # This Makefile is introduced to lower the delta between legacy wims |
||
3 | # source package and debian wims source package. In the legacy package, |
||
4 | # minimized Javascript files are not rebuilt; this Makefile allows one |
||
5 | # to rebuild those obfuscated files from sources with free-open-source |
||
6 | # tools. |
||
7 | #################################################################### |
||
8 | |||
9 | all: jqmath.js geogebra2wims.js |
||
10 | |||
11 | jqmath.js: src/*.js |
||
12 | # del previous version |
||
13 | rm -f $@ |
||
14 | cat src/jquery-1.4.3.js src/jscurry-0.3.0.js src/jqmath-0.4.0.js > $@ |
||
15 | |||
16 | geogebra2wims.js: src/geogebra2wims.js |
||
17 | uglifyjs src/geogebra2wims.js --beautify indent-level=4,width=80 -o $@ |
||
18 | |||
19 | clean: |
||
20 | rm -f *~ jqmath.js geogebra2wims.js |
||
21 | |||
22 | .PHONY: clean |