Skip to content

Commit

Permalink
Fix CSSTHME/CSSTHEME type in Makefile which was preventing build
Browse files Browse the repository at this point in the history
  • Loading branch information
danheberden committed Nov 4, 2011
1 parent f7c0c94 commit f166015
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,15 @@ nightly: pull zip
@@find ${VER} -type f -name '*.html' -exec sed -i 's|rel="stylesheet" href="../|rel="stylesheet" href="|g' {} \;

# Change the empty paths to the location of this nightly file
@@find ${VER} -type f -name '*.html' -exec sed -i 's|href="css/themes/${CSSTHME}/"|href="${NIGHTLY_WEBPATH}/${DIR}.min.css"|g' {} \;
@@find ${VER} -type f -name '*.html' -exec sed -i 's|href="css/themes/${CSSTHEME}/"|href="${NIGHTLY_WEBPATH}/${DIR}.min.css"|g' {} \;
@@find ${VER} -type f -name '*.html' -exec sed -i 's|src="js/jquery.js"|src="http://code.jquery.com/jquery-${JQUERY}.min.js"|' {} \;
@@find ${VER} -type f -name '*.html' -exec sed -i 's|src="js/"|src="${NIGHTLY_WEBPATH}/${DIR}.min.js"|g' {} \;

# Move the demos into the output folder
@@mv ${VER} ${OUTPUT}/demos

# Copy the images as well
@@cp -R css/themes/${CSSTHME}/images ${OUTPUT}
@@cp -R css/themes/${CSSTHEME}/images ${OUTPUT}

@@${RMLATEST}
@@scp -r ${OUTPUT} jqadmin@code.origin.jquery.com:/var/www/html/code.jquery.com/mobile/${NIGHTLY_OUTPUT}
Expand Down

0 comments on commit f166015

Please sign in to comment.