-for f in *.robot; do python -m robot.libdoc $f $TMP_ROBOT_DIR/$f.html; done
-for f in *.py; do python -m robot.libdoc $f $TMP_ROBOT_DIR/$f.html > /dev/null 2>&1; done
+for f in *.robot; do
+ python -m robot.libdoc $f $TMP_ROBOT_DIR/$f.html &
+done
+wait
+for f in *.py; do
+ python -m robot.libdoc $f $TMP_ROBOT_DIR/$f.html > /dev/null 2>&1 &
+done
+wait