lkml.org 
[lkml]   [2020]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 02/42] docs: scsi: include SCSI Transport SRP diagram at the doc body
    Date
    Instead of having a separate makefile, and be alone, group
    it at the SCSI documentation and make it being built as part
    of docs makefile.

    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    ---
    Documentation/scsi/index.rst | 2 +-
    .../scsi/scsi_transport_srp/{Makefile => figures.rst} | 9 ++++-----
    2 files changed, 5 insertions(+), 6 deletions(-)
    rename Documentation/scsi/scsi_transport_srp/{Makefile => figures.rst} (1%)

    diff --git a/Documentation/scsi/index.rst b/Documentation/scsi/index.rst
    index 16baf8b0f11f..3ef7ad65372a 100644
    --- a/Documentation/scsi/index.rst
    +++ b/Documentation/scsi/index.rst
    @@ -7,4 +7,4 @@ Linux SCSI Subsystem
    .. toctree::
    :maxdepth: 1

    -
    + scsi_transport_srp/figures
    diff --git a/Documentation/scsi/scsi_transport_srp/Makefile b/Documentation/scsi/scsi_transport_srp/figures.rst
    similarity index 1%
    rename from Documentation/scsi/scsi_transport_srp/Makefile
    rename to Documentation/scsi/scsi_transport_srp/figures.rst
    index 5f6b567e955c..6c8f8dd6301b 100644
    --- a/Documentation/scsi/scsi_transport_srp/Makefile
    +++ b/Documentation/scsi/scsi_transport_srp/figures.rst
    @@ -1,7 +1,6 @@
    -all: rport_state_diagram.svg rport_state_diagram.png
    +.. SPDX-License-Identifier: GPL-2.0

    -rport_state_diagram.svg: rport_state_diagram.dot
    - dot -Tsvg -o $@ $<
    +SCSI RDMA (SRP) transport class diagram
    +=======================================

    -rport_state_diagram.png: rport_state_diagram.dot
    - dot -Tpng -o $@ $<
    +.. kernel-figure:: rport_state_diagram.dot
    --
    2.21.1
    \
     
     \ /
      Last update: 2020-03-02 09:20    [W:4.152 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site