Support docbook-to-man command, e.g. for openSUSE (#153)
This commit is contained in:
parent
6fe62b6cbc
commit
0f5186c7b8
@ -18,7 +18,7 @@ endif()
|
||||
if(MSVC OR NOT BUILD_tools_default)
|
||||
set(BUILD_doc_default OFF)
|
||||
else()
|
||||
find_program(DOCBOOK_TO_MAN NAMES docbook2x-man docbook2man)
|
||||
find_program(DOCBOOK_TO_MAN NAMES docbook2x-man docbook2man docbook-to-man)
|
||||
if(DOCBOOK_TO_MAN)
|
||||
set(BUILD_doc_default ON)
|
||||
else()
|
||||
|
@ -39,6 +39,7 @@ Release 2.2.5 ???????????????????
|
||||
Benbuck Nason
|
||||
Hans Wennborg
|
||||
José Gutiérrez de la Concha
|
||||
Pedro Monreal Gonzalez
|
||||
Rhodri James
|
||||
Rolf Ade
|
||||
Stephen Groat
|
||||
|
@ -237,7 +237,7 @@ AS_HELP_STRING([--without-docbook],
|
||||
|
||||
AC_ARG_VAR([DOCBOOK_TO_MAN], [docbook2x-man command])
|
||||
AS_IF([test "x$with_docbook" != xno],
|
||||
[AC_CHECK_PROGS([DOCBOOK_TO_MAN], [docbook2x-man docbook2man],
|
||||
[AC_CHECK_PROGS([DOCBOOK_TO_MAN], [docbook2x-man docbook2man docbook-to-man],
|
||||
[if test "x$with_docbook" != xcheck; then
|
||||
AC_MSG_ERROR([Required program 'docbook2x-man' not found.])])])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user