8000 Use jquery.mobile.structure.css instead of the list all the individual · dotnetwise/jquery-mobile@e42c702 · GitHub
Skip to content
8000

Commit e42c702

Browse files
gseguinWilto
authored andcommitted
Use jquery.mobile.structure.css instead of the list all the individual
1 parent 235f39b commit e42c702

File tree

1 file changed

+7
-23
lines changed

1 file changed

+7
-23
lines changed

Makefile

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@ 8000 @ -1,24 +1,3 @@
1-
# The files to include when compiling the CSS files
2-
CSSFILES = css/structure/jquery.mobile.core.css \
3-
css/structure/jquery.mobile.transitions.css \
4-
css/structure/jquery.mobile.grids.css \
5-
css/structure/jquery.mobile.fixedToolbar.css \
6-
css/structure/jquery.mobile.navbar.css \
7-
css/structure/jquery.mobile.button.css \
8-
css/structure/jquery.mobile.collapsible.css \
9-
css/structure/jquery.mobile.controlgroup.css \
10-
css/structure/jquery.mobile.dialog.css \
11-
css/structure/jquery.mobile.forms.checkboxradio.css \
12-
css/structure/jquery.mobile.forms.fieldcontain.css \
13-
css/structure/jquery.mobile.forms.select.css \
14-
css/structure/jquery.mobile.forms.textinput.css \
15-
css/structure/jquery.mobile.listview.css \
16-
css/structure/jquery.mobile.forms.slider.css
17-
CSSTHEMEFILES = css/themes/${THEME}/jquery.mobile.theme.css
18-
19-
20-
21-
221
# Helper Variables
232
# The command to replace the @VERSION in the files with the actual version
243
VER = sed "s/v@VERSION/$$(git log -1 --format=format:"Git Build: SHA1: %H <> Date: %cd")/"
@@ -65,13 +44,18 @@ css: init
6544
--type css ${OUTPUT}/${NAME}.compiled.css >> ${OUTPUT}/${NAME}.min.css
6645
@@rm ${OUTPUT}/${NAME}.compiled.css
6746
# Build the CSS Structure-only file
47+
${RUN_JS} \
48+
external/r.js/dist/r.js \
49+
-o cssIn=css/structure/${STRUCTURE}.css \
50+
out=${OUTPUT}/${STRUCTURE}.compiled.css
6851
@@cat LICENSE-INFO.txt | ${VER} > ${OUTPUT}/${STRUCTURE}.css
69-
@@cat ${CSSFILES} >> ${OUTPUT}/${STRUCTURE}.css
52+
@@cat ${OUTPUT}/${STRUCTURE}.compiled.css >> ${OUTPUT}/${STRUCTURE}.css
7053
# ..... and then minify it
7154
@@echo ${VER_MIN} > ${OUTPUT}/${STRUCTURE}.min.css
7255
@@java -XX:ReservedCodeCacheSize=64m \
7356
-jar build/yuicompressor-2.4.6.jar \
74-
--type css ${OUTPUT}/${STRUCTURE}.css >> ${OUTPUT}/${STRUCTURE}.min.css
57+
--type css ${OUTPUT}/${STRUCTURE}.compiled.css >> ${OUTPUT}/${STRUCTURE}.min.css
58+
@@rm ${OUTPUT}/${STRUCTURE}.compiled.css
7559
# ..... and then copy in the images
7660
@@cp -R css/themes/${THEME}/images ${OUTPUT}/
7761
# Css portion is complete.

0 commit comments

Comments
 (0)