summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIgor Sfiligoi <isfiligoi@ucsd.edu>2011-03-22 07:30:12 -0400
committerIgor Sfiligoi <isfiligoi@ucsd.edu>2011-03-22 07:30:12 -0400
commitcb2e3d2743c0f88b430f14b7a396aa1a583dc978 (patch)
treea01293736eef098deff6d1cc832dcba0731ebb3e /Makefile
parentaf26aaa53d073a7b2d25caee93e1cb5ceb2e099c (diff)
flot-0.7
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index f90a969..b300f1a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,9 @@
# Makefile for generating minified files
-YUICOMPRESSOR_PATH=../yuicompressor-2.3.5.jar
-
-# if you need another compressor path, just copy the above line to a
-# file called Makefile.local, customize it and you're good to go
--include Makefile.local
-
.PHONY: all
-# we cheat and process all .js files instead of listing them
+# 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
- java -jar $(YUICOMPRESSOR_PATH) $< -o $@
+ yui-compressor $< -o $@