From 4a06054e392bc800f2c47fec3ac51dcc3d057f63 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 6 Mar 2024 17:02:20 +0100 Subject: [PATCH] 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 --- Makefile | 1 + asciidoc-pve.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b8a0666..801a2a3 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/asciidoc-pve.in b/asciidoc-pve.in index 3081fee..adc98c1 100644 --- a/asciidoc-pve.in +++ b/asciidoc-pve.in @@ -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', ];