[spice/docs] docs: include protocol and for-newbies documents

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

 



From: Victor Toso <me@xxxxxxxxxxxxxx>

Only by building and sharing the documents we will be able to get them
up to date.

Signed-off-by: Victor Toso <victortoso@xxxxxxxxxx>
---
 docs/meson.build | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/docs/meson.build b/docs/meson.build
index 82864bb8..ce0334c0 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -1,11 +1,17 @@
+asciidoc_files = ['spice_for_newbies',
+                  'spice_protocol',
+                  'spice_style',
+                  'spice_threading_model',
+                  'vd_interfaces']
+
 if get_option('manual')
   asciidoc = find_program('asciidoc', required : false)
   if asciidoc.found()
     asciidoc_args = ['-a', 'data-uri', '-a', 'icons', '-a', 'toc']
-    foreach doc : ['style', 'threading_model']
-      custom_target('spice_@0@.html'.format(doc),
-                    input : 'spice_@0@.txt'.format(doc),
-                    output : 'spice_@0@.html'.format(doc),
+    foreach doc : asciidoc_files
+      custom_target('@0@.html'.format(doc),
+                    input : '@0@.txt'.format(doc),
+                    output : '@0@.html'.format(doc),
                     build_by_default: true,
                     command : [asciidoc, '-n', asciidoc_args, '-o', '@OUTPUT@', '@INPUT@'])
     endforeach
-- 
2.21.0

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]