9 build: ../Rakka/Resource/JavaScript.hs
12 ../Rakka/Resource/JavaScript.hs: $(SOURCES) yuicompressor.jar
13 cat $(SOURCES) > tmp.js
14 java -jar yuicompressor.jar --type js --charset UTF-8 -o tmp.packed.js --warn tmp.js
15 lucu-implant-file -o $@ -m Rakka.Resource.JavaScript -t text/javascript tmp.packed.js
16 rm tmp.js tmp.packed.js
20 @echo "Warning: jquery-dom.js is missing. Trying to download it..."
21 wget http://mg.to/files/jquery-dom.js
25 @echo "Error: $@ has to be placed on this directory."
26 @echo " See http://jquery.com/"
31 rm -f ../Rakka/Resource/JavaScript.hs
35 @echo "Error: yuicompressor.jar has to be placed on this directory."
36 @echo " See http://www.julienlecomte.net/yuicompressor/"