Permalink
Browse files

Trying modestmaps.tmp.js idea

  • Loading branch information...
1 parent d4ca5a0 commit 5e0da9df80fb67c0dd95aec7794849bd70f8f270 @migurski migurski committed Apr 17, 2011
Showing with 13 additions and 9 deletions.
  1. +1 −0 .gitignore
  2. +12 −9 Makefile
View
@@ -0,0 +1 @@
+modestmaps.tmp.js
View
@@ -15,15 +15,18 @@ JS_FILES = \
src/map.js \
src/end.jsf
-modestmaps.min.js: modestmaps.js
- rm -f modestmaps.min.js
- java -jar tools/yuicompressor-2.4.2.jar modestmaps.js > modestmaps.min.js
+all: modestmaps.js modestmaps.min.js
-modestmaps.js: src/copyright.js $(JS_FILES)
- cat src/copyright.js > modestmaps.js
- perl -pi -e 's#N\.N\.N#$(VERSION)#' modestmaps.js
- cat $(JS_FILES) >> modestmaps.js
+modestmaps.min.js: modestmaps.tmp.js
+ java -jar tools/yuicompressor-2.4.2.jar modestmaps.tmp.js > modestmaps.min.js
+
+modestmaps.js: modestmaps.tmp.js
+ cat modestmaps.tmp.js > modestmaps.js
+
+modestmaps.tmp.js: src/copyright.js $(JS_FILES)
+ cat src/copyright.js > modestmaps.tmp.js
+ perl -pi -e 's#N\.N\.N#$(VERSION)#' modestmaps.tmp.js
+ cat $(JS_FILES) >> modestmaps.tmp.js
clean:
- rm modestmaps.js
- rm modestmaps.min.js
+ rm modestmaps.tmp.js

0 comments on commit 5e0da9d

Please sign in to comment.