Index: third_party/flot/Makefile |
diff --git a/third_party/flot/Makefile b/third_party/flot/Makefile |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2e070d0c3c03417df83c6fd217eea8393887b16f |
--- /dev/null |
+++ b/third_party/flot/Makefile |
@@ -0,0 +1,12 @@ |
+# Makefile for generating minified files |
+ |
+.PHONY: all |
+ |
+# we cheat and process all .js files instead of an exhaustive list |
+all: $(patsubst %.js,%.min.js,$(filter-out %.min.js,$(wildcard *.js))) |
+ |
+%.min.js: %.js |
+ yui-compressor $< -o $@ |
+ |
+test: |
+ ./node_modules/.bin/jshint *jquery.flot.js |