Skip to content

Commit

Permalink
Why three lines when 2 will suffice?
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiemonge committed Nov 10, 2011
1 parent 366d33e commit b7cd212
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Expand Up @@ -114,9 +114,8 @@ docs: init css js
-exec perl -pi -e \
's|js/"|${NAME}.min.js"|g;s|css/themes/default/|${NAME}.min.css|g;s|js/jquery.js"|jquery.js"|g' {} \;
# ... Move and zip up the the whole folder
@@mv tmp/${NAME} ${OUTPUT}/${NAME}
@@zip -rq ${OUTPUT}/${NAME}.docs.zip ${OUTPUT}/${NAME}
@@mv ${OUTPUT}/${NAME} ${OUTPUT}/demos
@@zip -rq ${OUTPUT}/${NAME}.docs.zip tmp/${NAME}
@@mv tmp/${NAME} ${OUTPUT}/demos
# Finish by removing the temporary files
@@rm -rf tmp
# -------------------------------------------------
Expand Down

0 comments on commit b7cd212

Please sign in to comment.