[RFC PATCH 2/5] docs: Makefile: Distribute rst files meant for inclusion

Peter Krempa pkrempa at redhat.com
Tue Jul 14 15:07:37 UTC 2020


Allow splitting bigger rst files into sections by using the .. include::
directive. We don't want those to be processed by docutils directly but
rather just included.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 docs/Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/Makefile.am b/docs/Makefile.am
index a480123e33..f066d3e529 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -322,6 +322,8 @@ dot_html_generated_in = \
   $(NULL)
 dot_html_in = \
   $(notdir $(wildcard $(srcdir)/*.html.in))
+dot_rst_in = \
+  $(notdir $(wildcard $(srcdir)/*.rst.in))
 dot_rst = \
   $(notdir $(wildcard $(srcdir)/*.rst))
 dot_rst_html_in = \
@@ -364,6 +366,7 @@ EXTRA_DIST= \
   $(internals_html_in) $(internals_rst) $(fonts) \
   $(kbase_html_in) $(kbase_rst) \
   $(manpages_rst) \
+  $(dot_rst_in) \
   aclperms.htmlinc \
   $(schema_DATA)

-- 
2.26.2




More information about the libvir-list mailing list