Skip to contentSkip to conversation

build: skip processing docs folder if docs disabled

PATCH In review Bruce Richardson 3 participants 3 messages Jan 3, 2020 – Feb 16, 2020 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: skip processing docs folder if docs disabled

While each target is set to be ignored if the docs are disabled in the meson build, there is little reason to process the docs folder at all.

---
 doc/meson.build | 4 ++++
 1 file changed, 4 insertions(+)
doc/meson.build +4 -0
index c5410d85d..c49ec8476 100644
@@ -1,6 +1,10 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Luca Boccassi <[email protected]>
 
+if not get_option('enable_docs')
+	subdir_done()
+endif
+
 doc_targets = []
 doc_target_names = []
 subdir('api')
Signature · 1 line
2.24.1
#1 lore raw

03/01/2020 15:46, Bruce Richardson:

doc/meson.build line 6

Quoted 8 lines

While each target is set to be ignored if the docs are disabled in the meson build, there is little reason to process the docs folder at all.

---

doc/meson.build +3 -0
+if not get_option('enable_docs')
+	subdir_done()
+endif

Why this patch is marked as superseded in patchwork?

#2 lore raw
Quoted 5 lines · Thomas Monjalon

03/01/2020 15:46, Bruce Richardson:

Quoted 3 lines

While each target is set to be ignored if the docs are disabled in the meson build, there is little reason to process the docs folder at all.

Quoted 8 lines

doc/meson.build line 6

Quoted 5 lines

---

doc/meson.build +3 -0
+if not get_option('enable_docs')
+     subdir_done()
+endif

Why this patch is marked as superseded in patchwork?

Because there were other series superseding it.
https://patchwork.dpdk.org/project/dpdk/list/?series=8032&state=%2A&archive=both
https://patchwork.dpdk.org/project/dpdk/list/?series=8039&state=%2A&archive=both
https://patchwork.dpdk.org/project/dpdk/list/?series=8056&state=%2A&archive=both

Then after testing and discussion, it was dropped.
http://inbox.dpdk.org/dev/CAJFAV8wNAtWf0a3s=XMqz+itgKgOMNybDHtCDN-ihpJNM8yzvQ@mail.gmail.com/

Signature · 1 line
David Marchand