compress:
$(foreach file,\
$(shell find . -type f -iname "*.js" | grep -v datepicker.js | grep -v raphael),\
- $(shell python jsmin.py < $(file) > $(file).new && mv $(file).new $(file)))
+ $(shell python2 jsmin.py < $(file) > $(file).new && mv $(file).new $(file)))
@echo "Compressed .js files with jsmin.py"
.PHONY: compress
-#!/usr/bin/python\r
+#!/usr/bin/python2\r
\r
# This code is original from jsmin by Douglas Crockford, it was translated to\r
# Python by Baruch Even. The original code had the following copyright and\r