1 JQUERY_SOURCE = jquery-1.2.1.js
2 COMPRESSOR = yuicompressor-2.2.4.jar
13 COMPRESS = java -jar $(COMPRESSOR) --type js --charset UTF-8
16 build: ../Rakka/Resource/JavaScript.hs
19 packed.js: $(SOURCES) $(COMPRESSOR)
21 cat $(SOURCES) | $(COMPRESS) --warn -o $@
24 ../Rakka/Resource/JavaScript.hs: packed.js
25 lucu-implant-file -o $@ -m Rakka.Resource.JavaScript -t text/javascript packed.js
29 rm -f ../Rakka/Resource/JavaScript.hs packed.js $(JQUERY_PACKED)
33 @echo "Error: yuicompressor.jar has to be placed on this directory."
34 @echo " See http://www.julienlecomte.net/yuicompressor/"