Skip to content
Snippets Groups Projects
Commit bace7b6c authored by Lucas De Marchi's avatar Lucas De Marchi
Browse files

build: make it compatible with python3 tools


sphinx-build and rst2man binaries on Fedora 28 have a -3 suffix when
they are installed for python3 in order to be able to be installed in
parallel to the python2's package.

For python3-sphinx, there's a bash module that plugs into /etc/profile.d
to add /usr/libexec/python3-sphinx to PATH. That however doesn't work
if you don't reload the profile after you installed the package.

So this makes it simpler by stating that we are compatible with any
of the tools (and we prefer the one with -3 suffix if available).
While at it, also allow people to override RST2MAN in the command line
in case we have even more creative scenarios.

Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent f9cd0b59
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment