Skip to content
Browse files

Makefile whitespace

  • Loading branch information...
1 parent d3911f1 commit 45b71e1a88c85efab2ad510256d96c1778302203 @johnbender johnbender committed Jan 26, 2012
Showing with 5 additions and 8 deletions.
  1. +5 −8 Makefile
View
13 Makefile
@@ -130,18 +130,15 @@ notify: init
# Zip up the jQm files without docs
-zip: init css js
+zip: init css js
# Packaging up the files into a zip archive
@@mkdir tmp
- @@cp -R ${OUTPUT} tmp/${NAME}
+ @@cp -R ${OUTPUT} tmp/${NAME}
# ... And remove the Zipped docs so they aren't included twice (for deploy scripts)
- @@rm -rf tmp/${NAME}/${NAME}.docs.zip
+ @@rm -rf tmp/${NAME}/${NAME}.docs.zip
@@cd tmp; zip -rq ../${OUTPUT}/${NAME}.zip ${NAME}
@@rm -rf tmp
# -------------------------------------------------
-
-
-
# -------------------------------------------------
# -------------------------------------------------
@@ -158,7 +155,7 @@ latest: init css docs js zip
# -------------------------------------------------
# Build the nightly backups. This is done on a server cronjob
-nightlies: init css js docs zip
+nightlies: init css js docs zip
# Time to put these on the CDN
@@mkdir -p tmp/nightlies
@@mv ${OUTPUT} tmp/nightlies/$$(date "+%Y%m%d")
@@ -184,7 +181,7 @@ deploy: init css js docs zip
-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' {} \;
# ... So they can be copied to jquerymobile.com
- @@scp -qr tmp/* jqadmin@jquerymobile.com:/srv/jquerymobile.com/htdocs/demos/
+ @@scp -qr tmp/* jqadmin@jquerymobile.com:/srv/jquerymobile.com/htdocs/demos/
# Do some cleanup to wrap it up
@@rm -rf tmp
@@rm -rf ${OUTPUT}

0 comments on commit 45b71e1

Please sign in to comment.
Something went wrong with that request. Please try again.