Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (28 sloc) 1009 Bytes
JS_SOURCES = src/js/microtemplating.js\
src/js/jquery.easing.1.3.js\
src/js/jquery.stackview.base.js \
src/js/jquery.stackview.infinite.js\
src/js/jquery.stackview.navigation.js\
src/js/jquery.stackview.ministack.js\
src/js/jquery.stackview.stackcache.js\
src/js/jquery.stackview.templates.js\
src/js/types/book.js\
src/js/types/serial.js\
src/js/types/soundrecording.js\
src/js/types/videofilm.js\
src/js/types/webpage.js
SCSS_SOURCE = src/scss/jquery.stackview.scss
JS_OUTPUT = lib/jquery.stackview.min.js
CSS_OUTPUT = lib/jquery.stackview.css
CSS_OUTPUT_STYLE = expanded
YUI = java -jar bin/yuicompressor-2.4.7.jar
all: clean js css
js:
cat $(JS_SOURCES) > temp.js
$(YUI) -o $(JS_OUTPUT) temp.js
rm -f temp.js
css:
sass --style $(CSS_OUTPUT_STYLE) $(SCSS_SOURCE):$(CSS_OUTPUT)
clean:
rm -f $(JS_OUTPUT) $(CSS_OUTPUT)
.PHONY: js css clean