diff --git a/Makefile b/Makefile index 2c101796..2e7808fc 100644 --- a/Makefile +++ b/Makefile @@ -179,7 +179,7 @@ deploy: init css js docs zip @@find tmp/${VER_OFFICIAL} -type f \ \( -name '*.html' -o -name '*.php' \) \ -exec perl -pi -e \ - 's|src="(.*)${NAME}.min.js"|src="//code.jquery.com/mobile/${VER_OFFICIAL}/${NAME}.min.js"|g;s|href="(.*)${NAME}.min.css"|href="//code.jquery.com/mobile/${VER_OFFICIAL}/${NAME}.min.css"|g;s|src="(.*)jquery.js"|src="//code.jquery.com/jquery-1.6.4.js"|g' {} \; + 's|src="(.*)${NAME}.min.js"|src="//code.jquery.com/mobile/${VER_OFFICIAL}/${NAME}.min.js"|g;s|href="(.*)${NAME}.min.css"|href="//code.jquery.com/mobile/${VER_OFFICIAL}/${NAME}.min.css"|g;s|src="(.*)jquery.js"|src="//code.jquery.com/jquery-1.6.4.min.js"|g' {} \; # ... So they can be copied to jquerymobile.com @@scp -qr tmp/* jqadmin@jquerymobile.com:/srv/jquerymobile.com/htdocs/demos/ # Do some cleanup to wrap it up