Permalink
Browse files

missed update from old makefile

  • Loading branch information...
1 parent 7e79e94 commit 0325c0312382880d4065187ba5c416858b8a6a81 @johnbender johnbender committed Jul 31, 2012
Showing with 6 additions and 3 deletions.
  1. +6 −3 build/bin/docs.sh
View
@@ -22,8 +22,11 @@ find tmp/demos -name "*$SED_INPLACE_EXT" -exec rm {} \;
# clear out old zip files
clear_zip_files $OUTPUT
-# ... Move and zip up the the whole folder
-cd tmp/demos && mkdir -p $OUTPUT && zip -qr $OUTPUT/$BASE_NAME.docs.zip ./* && cd -
+# create the docs zip in the output directory using the demo files
+cd tmp/demos && zip -rq ../../$OUTPUT/$NAME.docs.zip * && cd -
+
+# clean out the compiled directory demos and cp the new output
rm -rf $OUTPUT/demos && mv -f tmp/demos $OUTPUT
+
# Finish by removing the temporary files
-rm -rf tmp
+rm -rf tmp

0 comments on commit 0325c03

Please sign in to comment.