5
0
mirror of git://git.proxmox.com/git/pve-docs.git synced 2025-01-03 01:17:49 +03: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:
Thomas Lamprecht 2024-03-06 17:02:20 +01:00
parent a0fdba3295
commit 4a06054e39
2 changed files with 2 additions and 1 deletions

View File

@ -201,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

View File

@ -349,7 +349,7 @@ sub compile_asciidoc {
my $cmd = [
'asciidoc',
'-dmanpage',
'-bdocbook',
'-b', "$adoc_source_dir/asciidoc/pve-docbook",
'-f', "$adoc_source_dir/asciidoc/asciidoc-pve.conf",
'-a', 'docinfo1',
];