Skip to content

Video editing with Python

makehtml.sh make opening HTML also avl. on Mac

Kerstin Kollmann6b71d9ad5190
diff --git a/docs/makehtml.sh b/docs/makehtml.sh
index 040144c0..6f848c3c 100755
--- a/docs/makehtml.sh
+++ b/docs/makehtml.sh
@@ -1,2 +1,8 @@
make html
-firefox ../../docs/html/index.html
+
+# open generated HTML files
+if [[ $(uname) == 'Darwin' ]]; then
+ open '../../docs/html/index.html' -a Firefox
+elif [[ $(uname) == 'Linux' ]]; then
+ firefox ../../docs/html/index.html
+fi