Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
F
flot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HS-public
flot
Commits
3c1e90be
Commit
3c1e90be
authored
Mar 22, 2011
by
Ole Laursen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change Makefile to use yui-compressor script directly, it appears to
be widely available in Linux distributions these days
parent
aea8e9fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
Makefile
Makefile
+1
-7
No files found.
Makefile
View file @
3c1e90be
# Makefile for generating minified files
# 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
.PHONY
:
all
# we cheat and process all .js files instead of an exhaustive list
# we cheat and process all .js files instead of an exhaustive list
all
:
$(patsubst %.js
,
%.min.js
,
$(filter-out %.min.js
,
$(wildcard *.js)))
all
:
$(patsubst %.js
,
%.min.js
,
$(filter-out %.min.js
,
$(wildcard *.js)))
%.min.js
:
%.js
%.min.js
:
%.js
java
-jar
$(YUICOMPRESSOR_PATH)
$<
-o
$@
yui-compressor
$<
-o
$@
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment