upload tizen1.0 source
[framework/web/web-ui-fw.git] / libs / patch / 0001-JQM-Fix-jqm-build-to-exclude-compressed-version-buil.patch
1 From 18a19ed0ee31851c720fc6b83b50adea3d91a653 Mon Sep 17 00:00:00 2001
2 From: Minkyu Kang <mk7.kang@samsung.com>
3 Date: Tue, 28 Feb 2012 10:48:14 +0900
4 Subject: [PATCH] JQM: Fix jqm build to exclude compressed version build
5
6 Signed-off-by: Youmin Ha <youmin.ha@samsung.com>
7 ---
8  libs/js/jquery-mobile-1.0.1pre/Makefile |   16 +++++++++-------
9  1 files changed, 9 insertions(+), 7 deletions(-)
10
11 diff --git a/libs/js/jquery-mobile-1.0.1pre/Makefile b/libs/js/jquery-mobile-1.0.1pre/Makefile
12 index 23541cd..08bf27b 100644
13 --- a/libs/js/jquery-mobile-1.0.1pre/Makefile
14 +++ b/libs/js/jquery-mobile-1.0.1pre/Makefile
15 @@ -82,6 +82,7 @@ THEME = default
16  # When no build target is specified, all gets ran
17  all: init css js zip notify
18  
19 +all-but-min: init js css notify
20  
21  # Build and minify the CSS files
22  css: init
23 @@ -89,14 +90,14 @@ css: init
24         @@cat js/jquery.mobile.intro.js | ${VER} > ${OUTPUT}/${NAME}.css
25         @@cat ${CSSTHEMEFILES} ${CSSFILES} >> ${OUTPUT}/${NAME}.css
26         # ..... and then minify it
27 -       @@echo ${VER_MIN} > ${OUTPUT}/${NAME}.min.css
28 -       @@java -jar build/yuicompressor-2.4.6.jar --type css ${OUTPUT}/${NAME}.css >> ${OUTPUT}/${NAME}.min.css
29 +       #@@echo ${VER_MIN} > ${OUTPUT}/${NAME}.min.css
30 +       #@@java -jar build/yuicompressor-2.4.6.jar --type css ${OUTPUT}/${NAME}.css >> ${OUTPUT}/${NAME}.min.css
31         # Build the CSS Structure-only file
32         @@cat js/jquery.mobile.intro.js | ${VER} > ${OUTPUT}/${STRUCTURE}.css
33         @@cat ${CSSFILES} >> ${OUTPUT}/${STRUCTURE}.css
34         # ..... and then minify it
35 -       @@echo ${VER_MIN} > ${OUTPUT}/${STRUCTURE}.min.css
36 -       @@java -jar build/yuicompressor-2.4.6.jar --type css ${OUTPUT}/${STRUCTURE}.css >> ${OUTPUT}/${STRUCTURE}.min.css
37 +       #@@echo ${VER_MIN} > ${OUTPUT}/${STRUCTURE}.min.css
38 +       #@@java -jar build/yuicompressor-2.4.6.jar --type css ${OUTPUT}/${STRUCTURE}.css >> ${OUTPUT}/${STRUCTURE}.min.css
39         # ..... and then copy in the images
40         @@cp -R css/themes/${THEME}/images ${OUTPUT}/
41         # Css portion is complete.
42 @@ -137,8 +138,8 @@ js: init
43         @@cat js/jquery.mobile.intro.js | ${VER} > ${OUTPUT}/${NAME}.js
44         @@cat ${JSFILES} >> ${OUTPUT}/${NAME}.js
45         # ..... and then minify it
46 -       @@echo ${VER_MIN} > ${OUTPUT}/${NAME}.min.js
47 -       @@java -jar build/google-compiler-20111003.jar --js ${OUTPUT}/${NAME}.js --warning_level QUIET >> ${OUTPUT}/${NAME}.min.js
48 +       #@@echo ${VER_MIN} > ${OUTPUT}/${NAME}.min.js
49 +       #@@java -jar build/google-compiler-20111003.jar --js ${OUTPUT}/${NAME}.js --warning_level QUIET >> ${OUTPUT}/${NAME}.min.js
50         # -------------------------------------------------
51  
52  
53 @@ -208,4 +209,5 @@ deploy: init js css docs zip
54         @@rm -rf ${OUTPUT}
55         # -------------------------------------------------
56  
57 -
58 +clean:
59 +       @@rm -rf ${CURDIR}/compiled
60 -- 
61 1.7.5.4
62