/usr/share/dune/cmake/modules/FindSphinx.cmake is in libdune-common-dev 2.5.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | # .. cmake_module::
#
# Find Sphinx - the python documentation tool
#
# You may set the following variables to modify the
# behaviour of this module:
#
# :ref:`SPHINX_ROOT`
# the path to look for sphinx with the highest priority
#
# The following variables are set by this module:
#
# :code:`SPHINX_FOUND`
# whether Sphinx was found
#
# :code:`SPHINX_EXECUTABLE`
# the path to the sphinx-build executable
#
# .. cmake_variable:: SPHINX_ROOT
#
# You may set this variable to have :ref:`FindSphinx` look
# for the :code:`sphinx-build` executable in the given path
# before inspecting system paths.
#
#TODO export version.
find_program(SPHINX_EXECUTABLE
NAMES sphinx-build
PATHS ${SPHINX_ROOT}
NO_DEFAULT_PATH)
find_program(SPHINX_EXECUTABLE
NAMES sphinx-build)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
"Sphinx"
DEFAULT_MSG
SPHINX_EXECUTABLE
)
|