]> git.ipfire.org Git - thirdparty/libvirt.git/commit
docs: meson.build: Prepare for use of identical code for XSLT processing of htmls
authorPeter Krempa <pkrempa@redhat.com>
Tue, 13 Oct 2020 15:14:53 +0000 (17:14 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 19 Oct 2020 10:40:50 +0000 (12:40 +0200)
commit4ced77a309607e7f11c6635aca747ee5ea9934a3
tree7da1d9546becbebf04b1ecffdb2d02765dea29ac
parentfa84e3c46af22e2261f8f2e034429da25fb5c071
docs: meson.build: Prepare for use of identical code for XSLT processing of htmls

Meson unfortunately doesn't give us any means to share the code using
xsltproc to output HTMLs processed by our template. This means we will
have to resort to copy&paste engineering.

To make things simpler, let's use the same block of code in
docs/meson.build but also any of the subdirs which generate htmls.

This will be achieved by making it configurable and wrapping it in a
comment that instructs anybody editing it to keep it identical.

We need to be able to configure the template file used and installation
directory. The rest of the processing is same as we do in
docs/meson.build.

This code will then be copied to subdirs to refactor the current
approach used there.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
docs/meson.build