Permalink
Browse files

makefile output removed, zip checked

  • Loading branch information...
1 parent efe3b0b commit 686a7197ed3714a9e945752c8225f33d401a6354 @johnbender johnbender committed Apr 27, 2012
Showing with 3 additions and 5 deletions.
  1. +1 −3 Makefile
  2. +2 −2 build/bin/zip.sh
View
@@ -30,8 +30,6 @@ THEME = default
all: css js zip notify
clean:
- # -------------------------------------------------
- # Cleaning build output
@@rm -rf ${OUTPUT}
@@rm -rf tmp
@@ -57,7 +55,7 @@ notify: init
# Zip up the jQm files without docs
-zip: init css js
+zip: clean init css js
@@bash build/bin/zip.sh
# -------------------------------------------------
View
@@ -1,10 +1,10 @@
source build/bin/config.sh
# Packaging up the files into a zip archive
-mkdir tmp
+mkdir -p tmp
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/*.zip
cd tmp; zip -rq ../$OUTPUT/$NAME.zip $NAME
rm -rf tmp
# -------------------------------------------------

0 comments on commit 686a719

Please sign in to comment.