]> git.proxmox.com Git - pve-docs.git/blobdiff - Makefile
pcie-passthrough: add short note about iommu passthrough mode
[pve-docs.git] / Makefile
index 6eb2639959050ca49c5f81cf4884a2b44ef67029..df339c2ef472261c33c97a5ccd38c8722ffd4649 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,7 @@ GEN_SCRIPTS=                                  \
        gen-pct-network-opts.pl                 \
        gen-pct-mountpoint-opts.pl              \
        gen-qm.conf.5-opts.pl                   \
+       gen-cpu-models.conf.5-opts.pl           \
        gen-qm-cloud-init-opts.pl               \
        gen-vzdump.conf.5-opts.pl               \
        gen-pve-firewall-cluster-opts.pl        \
@@ -62,6 +63,11 @@ GEN_SCRIPTS=                                 \
        gen-pve-firewall-vm-opts.pl             \
        gen-output-format-opts.pl
 
+API_VIEWER_FILES=                                                      \
+       api-viewer/apidata.js                                           \
+       api-viewer/PVEAPI.js                                            \
+       /usr/share/javascript/proxmox-widget-toolkit-dev/APIViewer.js
+
 API_VIEWER_SOURCES=                            \
        api-viewer/index.html                   \
        api-viewer/apidoc.js
@@ -95,7 +101,7 @@ README.html: README.adoc
 
 .PHONY: index
 index: index.html
-       test -n "$${PVE_DOC_INSTANTVIEW}" && $(BROWSER) index.html &
+       test -z "$${PVE_DOC_INSTANTVIEW}" || $(BROWSER) index.html &
 
 chapter-index-table.adoc: asciidoc-pve
        ./asciidoc-pve chapter-table >$@.tmp
@@ -148,8 +154,9 @@ pve-admin-guide.epub: ${PVE_ADMIN_GUIDE_ADOCDEPENDS}
 api-viewer/apidata.js: extractapi.pl
        ./extractapi.pl >$@
 
-api-viewer/apidoc.js: api-viewer/apidata.js api-viewer/PVEAPI.js
-       cat api-viewer/apidata.js api-viewer/PVEAPI.js >$@
+api-viewer/apidoc.js: ${API_VIEWER_FILES}
+       cat ${API_VIEWER_FILES} >$@.tmp
+       mv $@.tmp $@
 
 .PHONY: dinstall
 dinstall: ${GEN_DEB} ${DOC_DEB} ${MEDIAWIKI_DEB}
@@ -218,7 +225,7 @@ mediawiki-install: pve-docs-mediawiki-import
 
 .PHONY: upload
 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 buster
+       tar cf - ${GEN_DEB} ${DOC_DEB} ${MEDIAWIKI_DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye
 
 .PHONY: update
 update: