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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux