move intro to text for css combine, js combine, and makefile use

This commit is contained in:
John Bender 2011-11-09 15:45:08 -08:00
parent 2212d7428c
commit 989f7f1542
5 changed files with 15 additions and 6 deletions

9
INTRO.txt Normal file
View file

@ -0,0 +1,9 @@
/*
* jQuery Mobile Framework v@VERSION
* http://jquerymobile.com
*
* Copyright 2011 (c) jQuery Project
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
*/

View file

@ -103,9 +103,9 @@ all: init js min css cssmin notify
# Build the normal CSS file.
css: init
# Build the CSS file
@@cat js/jquery.mobile.intro.js | ${SED_VER} > ${OUTPUT}/${CSS}
@@cat INTRO.txt | ${SED_VER} > ${OUTPUT}/${CSS}
@@cat ${CSSFILES} >> ${OUTPUT}/${CSS}
@@cat js/jquery.mobile.intro.js | ${SED_VER} > ${OUTPUT}/${CSSSTRUCTURE}
@@cat INTRO.txt | ${SED_VER} > ${OUTPUT}/${CSSSTRUCTURE}
@@cat ${CSSSTRUCTUREFILES} >> ${OUTPUT}/${CSSSTRUCTURE}
# Build the minified CSS file
@ -119,7 +119,7 @@ cssmin: init css
# Build the normal JS file
js: init
# Build the JavaScript file
@@cat js/jquery.mobile.intro.js | ${SED_VER} > ${OUTPUT}/${JS}
@@cat INTRO.txt | ${SED_VER} > ${OUTPUT}/${JS}
@@cat ${JSFILES} >> ${OUTPUT}/${JS}
# Create the output directory. This is in a separate step so its not dependant on other targets

View file

@ -1,6 +1,6 @@
<?php
$files = array_merge($files, array(
'../../../js/jquery.mobile.intro.js',
'../../../INTRO.txt',
'../../structure/jquery.mobile.core.css',
'../../structure/jquery.mobile.transitions.css',
'../../structure/jquery.mobile.grids.css',

View file

@ -1,7 +1,7 @@
<?php
$type = 'text/css';
$files = array(
'../../../js/jquery.mobile.intro.js',
'../../../INTRO.txt',
'jquery.mobile.theme.css'
);
$base = dirname(__FILE__);

View file

@ -1,7 +1,7 @@
<?php
$type = 'text/javascript';
$files = array(
'jquery.mobile.intro.js',
'INTRO.txt',
'jquery.ui.widget.js',
'jquery.mobile.widget.js',
'jquery.mobile.media.js',