From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5DD53A04FF; Tue, 14 Jan 2020 16:59:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D14271C0C5; Tue, 14 Jan 2020 16:59:44 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id B11271C0C1 for ; Tue, 14 Jan 2020 16:59:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579017583; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KaPB62VbJKiqBLHUAdAPmfvLk20KIYsrQYcTRV2SyZ4=; b=g6plUKi3KCRR8wuknSy09CTkjmKCOqmjw9kHLHmrkTcrCxb9Rj3rI6XRKdML/dgUdK/pVP 7/szngN0Ltqi8GBwwUE4DQq/z97bUn2BP2ROoP0dWVAfjYSklIBCtsG2pE12UMDaxgx0RI G5COfRh4wA77AO6dzG5XqKsLFTm5xaU= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-325-YoCHZU2mOleHpN20E-YAkg-1; Tue, 14 Jan 2020 10:59:36 -0500 Received: by mail-vk1-f198.google.com with SMTP id l4so5981807vkn.2 for ; Tue, 14 Jan 2020 07:59:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nMtP9LN0QCrTLqa8ptus6pwljuam74qgJ3p17hQaYC0=; b=nz5h9uvRR+UIbMUxpmBbyE56OchfpgxQnVWhpWtEZ+b08FCU7MPhJgB96pztTieetB pb+/Qk9CPQjC9+KsuYlVZ7XQNYjXHvJroQSvouS24XuekZO5hAglJUgW9AG71BF6Uze8 qPp9n2ZpxNs8O+nZSCO9uzcy1Ab5QApCiAev83AYs9JTbavbtYlIDja2yFzVhkAGpYpc PW6d4EJ2I7q5/oWA4gMWOkMSH70WWskqLN+GqTdZWv1zsxbVag5CBpGDOxIcZX4rXfB9 y69ZsOGOZ5fMWkwjh6F+eP/vVx90AaRg9x6EFgPMDgwGeALOBOGO2F9IWNo7MIasLOBX qKvg== X-Gm-Message-State: APjAAAVNY9OAjfhF+ojtULvOHmSP24pwIRaeqm0JkaKjDdua35tyZ/63 1raaAo7SPfkW+HzxIkgj0FDGq7kMGrBnbJbExOeUL9P/A1vGXTBaTJdt+WOCB9pizcfv0Qm5260 6Z2ZJVHk+TAADRAtFLbg= X-Received: by 2002:a67:f315:: with SMTP id p21mr1839755vsf.39.1579017576396; Tue, 14 Jan 2020 07:59:36 -0800 (PST) X-Google-Smtp-Source: APXvYqzPtUCzQVubJkj/Edozbl7G/ED0h7IrCw8O+hcLH53CkZ1TjXwflg2e+z5AVJqKzNWwmpIbXiyE4SdOfM+MQ7w= X-Received: by 2002:a67:f315:: with SMTP id p21mr1839735vsf.39.1579017576018; Tue, 14 Jan 2020 07:59:36 -0800 (PST) MIME-Version: 1.0 References: <20200109115631.500056-1-bruce.richardson@intel.com> <20200110215205.513185-1-bruce.richardson@intel.com> <20200110215205.513185-6-bruce.richardson@intel.com> In-Reply-To: <20200110215205.513185-6-bruce.richardson@intel.com> From: David Marchand Date: Tue, 14 Jan 2020 16:59:24 +0100 Message-ID: To: Bruce Richardson Cc: "Mcnamara, John" , Luca Boccassi , dev , Aaron Conole , Thomas Monjalon X-MC-Unique: YoCHZU2mOleHpN20E-YAkg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v4 5/6] doc/guides: rebuild with meson whenever a file changes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Jan 10, 2020 at 10:52 PM Bruce Richardson wrote: > > Add proper support for calling sphinx whenever a file in the doc > directory changes. This is accomplished by using a wrapper script > for sphinx, which runs sphinx but also emits a gcc-format dependency > file listing all the doc files. This is used by ninja so that any > change to the doc files triggers a rebuild of the docs. > > Signed-off-by: Bruce Richardson > Acked-by: Aaron Conole > Acked-by: Luca Boccassi > --- > MAINTAINERS | 1 + > buildtools/call-sphinx-build.py | 31 +++++++++++++++++++++++++++++++ > buildtools/meson.build | 6 ++++-- > doc/guides/meson.build | 22 ++++++++-------------- > 4 files changed, 44 insertions(+), 16 deletions(-) > create mode 100755 buildtools/call-sphinx-build.py Caught an issue on fc30: [2094/2338] Generating html_guides with a custom command. FAILED: doc/guides/html /usr/bin/python3 ../../dpdk/buildtools/call-sphinx-build.py /usr/libexec/python2-sphinx/sphinx-build /home/dmarchan/dpdk/doc/guides /home/dmarchan/builds/build-x86-default/doc/guides sphinx-build 1.8.4 Traceback (most recent call last): File "../../dpdk/buildtools/call-sphinx-build.py", line 15, in ver =3D run([sphinx, '--version'], stdout=3DPIPE).stdout.decode().split= ()[-1] IndexError: list index out of range Double checked, the version went to stderr: $ sphinx-build --version >/dev/null sphinx-build 1.8.4 $ sphinx-build --version 2>/dev/null --=20 David Marchand