• Mauro Carvalho Chehab's avatar
    docs-rst: auto-generate PDF image files · 15a04d4e
    Mauro Carvalho Chehab authored
    The PDF files that contain media images were actually generated
    offline from their SVG or PNG source files.
    
    Sphinx can handle PNG sources automatially. So, let's just
    drop their PDF counterparts.
    
    For SVG, however, Sphinx doesn't produce the right tags to
    use the TexLive SVG support. Also, the SVG support is done via
    shell execution, with is not nice.
    
    So, while we don't have any support for SVG inside Sphinx
    core or as an extension, move the logic to build them to Makefile,
    producing the PDF images on runtime.
    
    NOTE: due to the way Sphinx works, the PDF images should be
    generated inside the Kernel source tree, as otherwise Sphinx
    won't find it, not obeying what's specified by "O=" makefile
    parameter.
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
    Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
    15a04d4e