[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 1/4] docs: Fixes build docs on msys2/mingw
From: |
Yonggang Luo |
Subject: |
[PATCH v5 1/4] docs: Fixes build docs on msys2/mingw |
Date: |
Fri, 16 Oct 2020 16:16:55 +0800 |
meson didn't support running ../scripts/kernel-do directly
Add the perl as the first parameter
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
---
docs/sphinx/kerneldoc.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/sphinx/kerneldoc.py b/docs/sphinx/kerneldoc.py
index 3e87940206..af130d0939 100644
--- a/docs/sphinx/kerneldoc.py
+++ b/docs/sphinx/kerneldoc.py
@@ -67,7 +67,7 @@ class KernelDocDirective(Directive):
def run(self):
env = self.state.document.settings.env
- cmd = [env.config.kerneldoc_bin, '-rst', '-enable-lineno']
+ cmd = ['perl', env.config.kerneldoc_bin, '-rst', '-enable-lineno']
filename = env.config.kerneldoc_srctree + '/' + self.arguments[0]
export_file_patterns = []
--
2.28.0.windows.1