Skip to content

Commit 3c1e90b

Browse files
committed
Change Makefile to use yui-compressor script directly, it appears to
be widely available in Linux distributions these days
1 parent aea8e9f commit 3c1e90b

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Makefile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
# Makefile for generating minified files
22

3-
YUICOMPRESSOR_PATH=../yuicompressor-2.3.5.jar
4-
5-
# if you need another compressor path, just copy the above line to a
6-
# file called Makefile.local, customize it and you're good to go
7-
-include Makefile.local
8-
93
.PHONY: all
104

115
# we cheat and process all .js files instead of an exhaustive list
126
all: $(patsubst %.js,%.min.js,$(filter-out %.min.js,$(wildcard *.js)))
137

148
%.min.js: %.js
15-
java -jar $(YUICOMPRESSOR_PATH) $< -o $@
9+
yui-compressor $< -o $@

0 commit comments

Comments
 (0)