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