]> git.proxmox.com Git - pve-docs.git/blobdiff - Makefile
switch opt-out NOVIEW to opt-in PVE_DOC_INSTANTVIEW
[pve-docs.git] / Makefile
index b373066d3aa1da7f8bd0974dabc513be3d7061fa..6eb2639959050ca49c5f81cf4884a2b44ef67029 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -95,7 +95,7 @@ README.html: README.adoc
 
 .PHONY: index
 index: index.html
-       $(BROWSER) index.html &
+       test -n "$${PVE_DOC_INSTANTVIEW}" && $(BROWSER) index.html &
 
 chapter-index-table.adoc: asciidoc-pve
        ./asciidoc-pve chapter-table >$@.tmp