Permalink
Browse files

Why three lines when 2 will suffice?

  • Loading branch information...
1 parent 366d33e commit b7cd2128dd7b8743f79ffad604c0329ef699a399 @eddiemonge eddiemonge committed Nov 10, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 Makefile
View
5 Makefile
@@ -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
# -------------------------------------------------

0 comments on commit b7cd212

Please sign in to comment.