mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-10-05 14:10:57 +00:00
doc-generator: ship our pve-docbook config and use it for manpages
so that it can also be used when generating per-package docs like manpages. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
a0fdba3295
commit
4a06054e39
1
Makefile
1
Makefile
@ -201,6 +201,7 @@ gen-install: $(GEN_DEB_SOURCES) asciidoc-pve asciidoc/mediawiki.conf
|
|||||||
install -m 0755 asciidoc-pve $(DESTDIR)/usr/bin/
|
install -m 0755 asciidoc-pve $(DESTDIR)/usr/bin/
|
||||||
install -D -m 0644 asciidoc/mediawiki.conf $(DESTDIR)/usr/share/$(GEN_PACKAGE)/asciidoc/mediawiki.conf
|
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/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/
|
install -m 0644 asciidoc/pve-html.conf $(DESTDIR)/usr/share/$(GEN_PACKAGE)/asciidoc/
|
||||||
|
|
||||||
.PHONY: doc-install
|
.PHONY: doc-install
|
||||||
|
@ -349,7 +349,7 @@ sub compile_asciidoc {
|
|||||||
my $cmd = [
|
my $cmd = [
|
||||||
'asciidoc',
|
'asciidoc',
|
||||||
'-dmanpage',
|
'-dmanpage',
|
||||||
'-bdocbook',
|
'-b', "$adoc_source_dir/asciidoc/pve-docbook",
|
||||||
'-f', "$adoc_source_dir/asciidoc/asciidoc-pve.conf",
|
'-f', "$adoc_source_dir/asciidoc/asciidoc-pve.conf",
|
||||||
'-a', 'docinfo1',
|
'-a', 'docinfo1',
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user