--- docs/CMakeLists.txt.orig 2015-11-15 09:07:26.000000000 -0800 +++ docs/CMakeLists.txt 2015-11-15 14:25:23.000000000 -0800 @@ -23,7 +23,7 @@ INSTALL(DIRECTORY ${CMAKE_DOC_OUT}/ DESTINATION ${CMAKE_INSTALL_DOCDIR}) # create and install man pages -FIND_PROGRAM(RST2MAN_EXECUTABLE NAMES rst2man rst2man.py rst2man2 rst2man2.py) +FIND_PROGRAM(RST2MAN_EXECUTABLE NAMES rst2man-@@PYTHON_VERSION@@.py rst2man rst2man.py rst2man2 rst2man2.py) ADD_CUSTOM_TARGET(man ALL) ADD_CUSTOM_COMMAND( TARGET man