From 3c1e90bed924d20417f77b7731f779a3e229bf61 Mon Sep 17 00:00:00 2001 From: Ole Laursen Date: Tue, 22 Mar 2011 11:51:52 +0100 Subject: [PATCH] Change Makefile to use yui-compressor script directly, it appears to be widely available in Linux distributions these days --- Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 8bccbe8..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 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 $@