]> git.proxmox.com Git - pve-docs.git/commitdiff
mediawiki-import: import important manual pages
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 3 May 2016 15:52:59 +0000 (17:52 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 3 May 2016 17:31:09 +0000 (19:31 +0200)
Makefile
doc-debian/pve-docs-mediawiki-import

index 317055ff1988d4b714ec1a87982841c352a4fdde..1567ce63e5c7e9de1b7664363a4ea8c031ddd7e3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -167,6 +167,10 @@ pmxcfs.8.html: pmxcfs.adoc pmxcfs.8-cli.adoc ${PVE_COMMON_DOC_SOURCES}
        asciidoc ${ADOC_MAN5_HTML_ARGS} -o $@ $*.adoc
        test -n "$${NOVIEW}" || $(BROWSER) $@ &
 
+%.5-plain.html: %.adoc %.5-opts.adoc ${PVE_COMMON_DOC_SOURCES}
+       asciidoc -s ${ADOC_MAN5_HTML_ARGS} -o $@ $*.adoc
+       test -n "$${NOVIEW}" || $(BROWSER) $@ &
+
 .PHONY: index
 index: index.html
        test -n "$${NOVIEW}" || $(BROWSER) index.html &
@@ -176,6 +180,7 @@ index.html: index.adoc ${PVE_ADMIN_GUIDE_SOURCES} ${API_VIEWER_SOURCES}
        $(MAKE) NOVIEW=1 $(addsuffix .1.html, ${COMMAND_LIST}) $(addsuffix .8.html, ${SERVICE_LIST}) $(addsuffix .5.html, ${CONFIG_LIST})
        $(MAKE) NOVIEW=1 $(addsuffix .html, $(addprefix chapter-, ${CHAPTER_LIST}))
        $(MAKE) NOVIEW=1 $(addsuffix -plain.html, $(addprefix chapter-, ${CHAPTER_LIST}))
+       $(MAKE) NOVIEW=1 $(addsuffix .5-plain.html, ${CONFIG_LIST})
        asciidoc -a "date=$(shell date)" -a "revnumber=${DOCRELEASE}" index.adoc
 
 pve-admin-guide.html: ${PVE_ADMIN_GUIDE_SOURCES}
@@ -216,6 +221,7 @@ deb:
 DOC_DEB_FILES=                                                                 \
        $(addsuffix .html, $(addprefix chapter-, ${CHAPTER_LIST}))              \
        $(addsuffix -plain.html, $(addprefix chapter-, ${CHAPTER_LIST}))        \
+       $(addsuffix .5-plain.html, ${CONFIG_LIST})                              \
        $(addsuffix .1.html, ${COMMAND_LIST})                                   \
        $(addsuffix .8.html, ${SERVICE_LIST})                                   \
        $(addsuffix .5.html, ${CONFIG_LIST})                                    \
index a3c13f118c05c99efd2ca09391800785a2bdb79c..a29e9b500bfb92cfcee4cee99dcee66e81eba13a 100755 (executable)
@@ -111,7 +111,19 @@ my $docs = {
     'chapter-vzdump-plain.html' => {
        title => "Backup and Restore",
        category => $cat_refdoc,
-    }
+    },
+    'qm.conf.5-plain.html' => {
+       title => "Manual: vm.conf",
+       category => $cat_refdoc,
+    },
+    'pct.conf.5-plain.html' => {
+       title => "Manual: pct.conf",
+       category => $cat_refdoc,
+    },
+    'datacenter.cfg.5-plain.html' => {
+       title => "Manual: datacenter.cfg",
+       category => $cat_refdoc,
+    },
 };
 
 #update_page("testpage1", $filename, $d->{category});