DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] meson: update doc logic for Windows
@ 2022-03-26  2:59 Vipin Varghese
  2022-03-26  9:41 ` Thomas Monjalon
  0 siblings, 1 reply; 8+ messages in thread
From: Vipin Varghese @ 2022-03-26  2:59 UTC (permalink / raw)
  To: dmitry.kozliuk, thomas, david.marchand
  Cc: vipin.varghese, sivaprasad.tummala, dev

Support for shell scripts doxy-html-custom, generate_doxygen and
generate_examples are absent. The current patch address the same by
disabling document build notifying the user.

Steps to reproduce the error:
 - Install dependencies doxygen & sphinix build on Windwos server 2019.
 - Build DPDK with option enable_docs=true for API or User Guide.

This produces error
```
FAILED: doc/api/examples.dox
sh -e dpdk/doc/api/generate_examples.sh dpdk/examples doc/api/examples.dox
```

Signed-off-by: Vipin Varghese <vipin.varghese@amd.com>
---
 doc/meson.build | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/doc/meson.build b/doc/meson.build
index 6f74706aa2..d7c35a12f2 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -3,6 +3,14 @@
 
 doc_targets = []
 doc_target_names = []
+
+if is_windows
+    if get_option('enable_docs')
+        message('Docs target not supported on windows')
+    endif
+    subdir_done()
+endif
+
 subdir('api')
 subdir('guides')
 
-- 
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-03-29  5:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-26  2:59 [PATCH] meson: update doc logic for Windows Vipin Varghese
2022-03-26  9:41 ` Thomas Monjalon
2022-03-28  3:02   ` Varghese, Vipin
2022-03-28  9:34     ` Dmitry Kozlyuk
2022-03-28 12:29       ` Varghese, Vipin
2022-03-28 14:37         ` Varghese, Vipin
2022-03-28 22:51         ` Dmitry Kozlyuk
2022-03-29  5:35           ` Varghese, Vipin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).