patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Dmitry Kozlyuk <>
Cc: Dmitry Kozlyuk <>,
	Bruce Richardson <>,
	Luca Boccassi <>,
	Rob Scheepens <>
Subject: [dpdk-stable] [PATCH] doc: fix build on Windows with meson 0.58
Date: Wed, 30 Jun 2021 19:15:05 +0300
Message-ID: <> (raw)

The `doc` target used `echo` as its command.
On Windows, `echo` is always a shell built-in, there is no binary.
Starting from meson 0.58, `run_target()` always searches for command
executable and no longer accepts `echo` as such on Windows.
Replace plain `echo` with a Python one-liner.

Fixes: d02a2dab2dfb ("doc: support building HTML guides with meson")
Cc: Bruce Richardson <>
Cc: Luca Boccassi <>

Reported-by: Rob Scheepens <>
Signed-off-by: Dmitry Kozlyuk <>
 doc/ | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/ b/doc/
index 959606b965..abd7d70421 100644
--- a/doc/
+++ b/doc/
@@ -11,5 +11,6 @@ if doc_targets.length() == 0
     message = 'Building docs:'
-run_target('doc', command: ['echo', message, doc_target_names],
+echo = [py3, '-c', 'import sys; print(*sys.argv[1:])']
+run_target('doc', command: [echo, message, doc_target_names],
     depends: doc_targets)

             reply	other threads:[~2021-06-30 16:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-30 16:15 Dmitry Kozlyuk [this message]
2021-07-01  9:23 ` Richardson, Bruce

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:

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

  git send-email \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ \
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone