]> git.proxmox.com Git - pve-docs.git/blobdiff - Makefile
totp: fix copy/paste mistake
[pve-docs.git] / Makefile
index 4e3f7512ac21f6636a027949ed1746987331e7a3..801a2a365c71b89967ece923d856fe933720da4a 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 $@
@@ -207,6 +201,7 @@ gen-install: $(GEN_DEB_SOURCES) asciidoc-pve asciidoc/mediawiki.conf
        install -m 0755 asciidoc-pve $(DESTDIR)/usr/bin/
        install -D -m 0644 asciidoc/mediawiki.conf $(DESTDIR)/usr/share/$(GEN_PACKAGE)/asciidoc/mediawiki.conf
        install -m 0644 asciidoc/asciidoc-pve.conf $(DESTDIR)/usr/share/$(GEN_PACKAGE)/asciidoc/
+       install -m 0644 asciidoc/pve-docbook.conf $(DESTDIR)/usr/share/$(GEN_PACKAGE)/asciidoc/
        install -m 0644 asciidoc/pve-html.conf $(DESTDIR)/usr/share/$(GEN_PACKAGE)/asciidoc/
 
 .PHONY: doc-install
@@ -239,8 +234,9 @@ mediawiki-install: pve-docs-mediawiki-import
        install -m 0755 pve-docs-mediawiki-import $(DESTDIR)/usr/bin/
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(GEN_DEB) $(DOC_DEB) $(MEDIAWIKI_DEB)
-       tar cf - $(GEN_DEB) $(DOC_DEB) $(MEDIAWIKI_DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye
+       tar cf - $(GEN_DEB) $(DOC_DEB) $(MEDIAWIKI_DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)
 
 .PHONY: update
 update: