]> git.proxmox.com Git - pve-docs.git/commitdiff
buildsys: remove odd xdg-open stanza
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 18 May 2023 14:09:16 +0000 (16:09 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 18 May 2023 14:09:17 +0000 (16:09 +0200)
this does *NOT* belong in a build system, just open the browser and
hit F5 after built...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index dc8a2cfd4bd9781a5bb0fb2f34bb575f12c6b590..b8a0666c169f3d87c3ae16151d01b0019ffc8aba 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -95,15 +95,9 @@ INDEX_INCLUDES=                                                              \
 
 ADOC_STDARG=-b $(shell pwd)/asciidoc/pve-html -f asciidoc/asciidoc-pve.conf -a icons -a data-uri -a "date=$(SOURCE_DATE_HUMAN)" -a "revnumber=$(DOCRELEASE)" -a footer-style=revdate
 
-BROWSER?=xdg-open
-
 README.html: README.adoc
        asciidoc -a toc $(ADOC_STDARG) -o $@ $<
 
-.PHONY: index
-index: index.html
-       test -z "$${PVE_DOC_INSTANTVIEW}" || $(BROWSER) index.html &
-
 chapter-index-table.adoc: asciidoc-pve
        ./asciidoc-pve chapter-table >$@.tmp
        mv $@.tmp $@