Skip to content

Commit 0d283cb

Browse files
committed
combine the css structure min and license files
1 parent b8dcdc9 commit 0d283cb

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ css: init
9595
@@cat js/jquery.mobile.intro.js | ${VER} > ${OUTPUT}/${STRUCTURE}.css
9696
@@cat ${CSSFILES} >> ${OUTPUT}/${STRUCTURE}.css
9797
# ..... and then minify it
98-
@@echo ${VER_MIN} > ${OUTPUT}/${NAME}.structure.min.css
98+
@@echo ${VER_MIN} > ${OUTPUT}/${STRUCTURE}.min.css
9999
@@java -jar build/yuicompressor-2.4.6.jar --type css ${OUTPUT}/${STRUCTURE}.css >> ${OUTPUT}/${STRUCTURE}.min.css
100100
# ..... and then copy in the images
101101
@@cp -R css/themes/${THEME}/images ${OUTPUT}/
@@ -151,8 +151,10 @@ notify: init
151151
# Zip up the jQm files without docs
152152
zip: init css js
153153
# Packaging up the files into a zip archive
154-
@@zip -rq ${NAME}.tmp.zip ${OUTPUT}
155-
@@mv ${NAME}.tmp.zip ${OUTPUT}/${NAME}.zip
154+
@@mkdir tmp
155+
@@cp -r ${OUTPUT} tmp/${NAME}
156+
@@zip -rq ${OUTPUT}/${NAME}.zip tmp/${NAME}/
157+
@@rm -rf tmp
156158
# -------------------------------------------------
157159

158160

@@ -201,3 +203,4 @@ deploy: init js css docs zip
201203
@@rm -rf ${OUTPUT}
202204
# -------------------------------------------------
203205

206+

0 commit comments

Comments
 (0)