DPDK patches and discussions
 help / color / mirror / Atom feed
From: Vipin Varghese <vipin.varghese@amd.com>
To: <dmitry.kozliuk@gmail.com>, <thomas@monjalon.net>,
	<david.marchand@redhat.com>
Cc: <vipin.varghese@amd.com>, <sivaprasad.tummala@amd.com>, <dev@dpdk.org>
Subject: [PATCH] meson: update doc logic for Windows
Date: Fri, 25 Mar 2022 19:59:36 -0700	[thread overview]
Message-ID: <20220326025936.487626-1-vipin.varghese@amd.com> (raw)

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


             reply	other threads:[~2022-03-26  2:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-26  2:59 Vipin Varghese [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220326025936.487626-1-vipin.varghese@amd.com \
    --to=vipin.varghese@amd.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=dmitry.kozliuk@gmail.com \
    --cc=sivaprasad.tummala@amd.com \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).