From patchwork Thu Oct 15 22:06:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yonggang Luo X-Patchwork-Id: 1382950 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=W8efMlxS; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CC3Lc5ddtz9sTq for ; Fri, 16 Oct 2020 09:07:51 +1100 (AEDT) Received: from localhost ([::1]:60936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTBPY-0008UC-4C for incoming@patchwork.ozlabs.org; Thu, 15 Oct 2020 18:07:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTBOa-0008TZ-3Z for qemu-devel@nongnu.org; Thu, 15 Oct 2020 18:06:48 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:45634) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTBOX-00071e-4v for qemu-devel@nongnu.org; Thu, 15 Oct 2020 18:06:47 -0400 Received: by mail-pf1-x429.google.com with SMTP id e7so240424pfn.12 for ; Thu, 15 Oct 2020 15:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=y1egukY4aVZ+wQwbp0t0lSshR4gnN7tGouDscFBFSrA=; b=W8efMlxSDMbF8pBzA6Slwa9kjP3xckWiJ+GqtEWio83MZyIMUWGbXEfvYOT+epesL6 P7gZWs/g9yvoie6QADHAktDQhPRP4q9f4thbAbvf4PCzKe8aGdfmEqXnCYIAr6HazchX /IGHW3YAIUeTRhGnjqiVRQ0v9GaB8ePZTrjZ4spq3S99FzjfbpDMqikxGcQzshnNghU3 tZe8iLzoQxtACgqtfk/QEKk4O9hMj1z+H0Qe0twpBZlJ9CkARNgRZ3vpvidZLn+UGTCq 3sPZZsk9Ps0BaEsQLNq5WphC+N0IliaE/bVlt5fyFkpYo8vOAjhrO1WOTeIcWQDs9R13 rzwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=y1egukY4aVZ+wQwbp0t0lSshR4gnN7tGouDscFBFSrA=; b=eZhNSEzvoKUSarZIn0adDe+FlyG0jM44M+S5XU8tlS4yXQG/2GhVblt+8nRE8s3yyu wmwHtg/0civvVpcFpwdIdC0ZhwjQrkXAgEQbM4KbYYpFDDV08sqlfaElZRMeJtmf++eL FqDkRxAJA4dCcog1cJzReDTlQFs2zQ8Of37fWn0m9t9RCAx7a99NdNDr9tbrIEUcJqCX Y0gyfTMyHufnhIxxb084sF2jkKcort13J/lnSycQHneBqK8HMpp7leZkSySBvnoGC2Rp KPi9SMx+WRNhtO4TR6e048zB0ahsWdSoeVrV/W4KHYckqpHIym8hbBmozgzgucPG6US3 XLQQ== X-Gm-Message-State: AOAM533I39EYgLl54T0K49lvfddGI98GFZCSZM5/ib5Hhzq8hZzjKxZJ AwIcbkvy1J9Wzr1WloTkIBig8h3SGbMd1CpX X-Google-Smtp-Source: ABdhPJzU92kALQpJj4c9tgXcohCzKa8TnrJLuPt+Lh6vVNys60r8omMVd3AXo8wsg3cP7aGhM6D9Hw== X-Received: by 2002:a63:5352:: with SMTP id t18mr514743pgl.51.1602799602297; Thu, 15 Oct 2020 15:06:42 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id x10sm261468pfc.88.2020.10.15.15.06.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2020 15:06:41 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v4 0/4] Fixes docs building on msys2/mingw Date: Fri, 16 Oct 2020 06:06:22 +0800 Message-Id: <20201015220626.418-1-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=luoyonggang@gmail.com; helo=mail-pf1-x429.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Yonggang Luo Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" V3-V4 Quic fixes of python style if xxx: tested locally V2-V3 No need convert perl trick to python script anymore after Paolo's removal of ninjatool. Revise Meson: Move the detection logic for sphinx to meson for pass other platform by letting SPHINX_ARGS to be empty when build_docs are false v1 - v2 Also move the docs configure part from configure to meson, this also fixed the pending ninjatool removal caused issue that docs can not be build under msys2/mingw Yonggang Luo (4): docs: Fixes build docs on msys2/mingw configure: the docdir option should passed to meson as is. meson: Move the detection logic for sphinx to meson cirrus: Enable doc build on msys2/mingw .cirrus.yml | 6 +++- configure | 62 +++-------------------------------- docs/conf.py | 2 +- docs/meson.build | 4 +-- docs/sphinx/kerneldoc.py | 2 +- meson.build | 60 +++++++++++++++++++++++++++++---- meson_options.txt | 5 ++- tests/qapi-schema/meson.build | 2 +- 8 files changed, 72 insertions(+), 71 deletions(-)