2010-01-06 11:54:27 +01:00
|
|
|
# Build Docbook manual
|
|
|
|
# Run 'make html' to build manual
|
|
|
|
|
2011-03-25 07:14:53 +01:00
|
|
|
set(DOC_TARGETS "html")
|
2010-02-01 22:42:29 +01:00
|
|
|
|
2011-03-25 07:14:53 +01:00
|
|
|
if(CYGWIN)
|
|
|
|
# Build also htmlhelp in Cygwin - this can be used to build
|
|
|
|
# htmlhelp manual for Windows.
|
|
|
|
set(DOC_TARGETS ${DOC_TARGETS} "htmlhelp")
|
|
|
|
endif()
|
2010-02-01 22:42:29 +01:00
|
|
|
|
2011-03-25 07:14:53 +01:00
|
|
|
if(UNIX OR CYGWIN)
|
|
|
|
# Build manual in Linux/Cygwin - xmlto is not available in Windows
|
2011-03-25 18:33:51 +01:00
|
|
|
# daniel: I don't want to have extra dependencies for Cppcheck
|
|
|
|
# find_package(XmlTo REQUIRED)
|
|
|
|
# xmlto("" "manual.docbook" MODES ${DOC_TARGETS})
|
2011-03-25 07:14:53 +01:00
|
|
|
endif()
|