X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=5941a8ee954d1a004db043df13c206cb598fdd36;hb=5e4b96ff06b860b19e78709d1f8cdb0112ec0eef;hp=4905eb5bd34b7f2f17f2148e90e9c68e927f64eb;hpb=9ee943233e087624aafa8ff2071e663886a7fee8;p=pve-docs.git diff --git a/Makefile b/Makefile index 4905eb5..5941a8e 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ DOC_PACKAGE=pve-docs MEDIAWIKI_PACKAGE=pve-docs-mediawiki # also update debian/changelog -PKGREL=9 +PKGREL=2 GITVERSION:=$(shell cat .git/refs/heads/master) @@ -98,12 +98,17 @@ GEN_SCRIPTS= \ gen-pve-firewall-rules-opts.pl \ gen-pve-firewall-vm-opts.pl +SYSADMIN_PARTS= \ + getting-help \ + pve-network \ + pve-package-repos \ + pve-installation \ + system-software-updates \ + local-lvm \ + local-zfs + SYSADMIN_SOURCES= \ - getting-help.adoc \ - pve-package-repos.adoc \ - pve-installation.adoc \ - system-software-updates.adoc \ - local-zfs.adoc \ + $(addsuffix .adoc, ${SYSADMIN_PARTS}) \ sysadmin.adoc API_VIEWER_SOURCES= \ @@ -145,9 +150,10 @@ PVE_ADMIN_GUIDE_SOURCES= \ GFDL.adoc \ attributes.txt -WIKI_IMPORTS= \ - $(addsuffix -plain.html, $(addprefix chapter-, ${CHAPTER_LIST}))\ - $(addsuffix .5-plain.html, ${CONFIG_LIST}) \ +WIKI_IMPORTS= \ + $(addsuffix -plain.html, $(addprefix sysadmin-, ${SYSADMIN_PARTS})) \ + $(addsuffix -plain.html, $(addprefix chapter-, ${CHAPTER_LIST})) \ + $(addsuffix .5-plain.html, ${CONFIG_LIST}) \ $(addsuffix -plain.html, $(addprefix pve-storage-, ${STORAGE_TYPES})) INDEX_INCLUDES= \ @@ -171,6 +177,9 @@ all: index.html %-nwdiag.svg: %.nwdiag nwdiag -T svg $*.nwdiag -o $@; +sysadmin-%-plain.html: %.adoc + asciidoc -s -a wiki -a 'leveloffset=-1' ${ADOC_STDARG} -o $@ $*.adoc + chapter-sysadmin.html chapter-sysadmin-plain.html: ${SYSADMIN_SOURCES} chapter-%.html: %.adoc ${PVE_COMMON_DOC_SOURCES} @@ -197,6 +206,9 @@ pmxcfs.8.html: pmxcfs.adoc pmxcfs.8-cli.adoc ${PVE_COMMON_DOC_SOURCES} %.5-plain.html: %.adoc %.5-opts.adoc ${PVE_COMMON_DOC_SOURCES} asciidoc -s ${ADOC_MAN5_HTML_ARGS} -o $@ $*.adoc +README.html: README.adoc + asciidoc ${ADOC_STDARG} -o $@ $< + .PHONY: index index: index.html $(BROWSER) index.html &