Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

missed update from old makefile

  • Loading branch information...
commit 0325c0312382880d4065187ba5c416858b8a6a81 1 parent 7e79e94
John Bender authored
Showing with 6 additions and 3 deletions.
  1. +6 −3 build/bin/docs.sh
9 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
Please sign in to comment.
Something went wrong with that request. Please try again.