Skip to content

Commit b7cd212

Browse files
committed
Why three lines when 2 will suffice?
1 parent 366d33e commit b7cd212

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,8 @@ docs: init css js
114114
-exec perl -pi -e \
115115
's|js/"|${NAME}.min.js"|g;s|css/themes/default/|${NAME}.min.css|g;s|js/jquery.js"|jquery.js"|g' {} \;
116116
# ... Move and zip up the the whole folder
117-
@@mv tmp/${NAME} ${OUTPUT}/${NAME}
118-
@@zip -rq ${OUTPUT}/${NAME}.docs.zip ${OUTPUT}/${NAME}
119-
@@mv ${OUTPUT}/${NAME} ${OUTPUT}/demos
117+
@@zip -rq ${OUTPUT}/${NAME}.docs.zip tmp/${NAME}
118+
@@mv tmp/${NAME} ${OUTPUT}/demos
120119
# Finish by removing the temporary files
121120
@@rm -rf tmp
122121
# -------------------------------------------------

0 commit comments

Comments
 (0)