3 # themes/Makefile.global
5 # minify themes, for gnu make only
9 THEMES = default MonoBook wikilens Sidebar SpaceWiki blog MacOSX fusionforge
11 # http://developer.yahoo.com/yui/compressor/
12 YUICOMPRESSOR = java -jar ../default/yuicompressor-2.4.2.jar
16 js: $(MAIN)-min.js $(patsubst %.js,%-min.js,$(JS_REST))
19 rm $(MAIN)-min.js $(patsubst %.js,%-min.js,$(JS_REST)) $(CSS_FILES)
21 $(MAIN)-min.js : $(JS_MAIN)
22 $(YUICOMPRESSOR) -o $@ $(JS_MAIN)
25 $(YUICOMPRESSOR) -o $@ $<
28 $(YUICOMPRESSOR) -o $@ $<
30 IEFixes-min.js : IEFixes.js
31 $(YUICOMPRESSOR) $< | sed -e's,style.floats,style.float,g' > $@