2010-01-06 11:54:27 +01:00
|
|
|
# Build Docbook manual
|
|
|
|
# Run 'make html' to build manual
|
|
|
|
|
2010-02-01 22:42:29 +01:00
|
|
|
# Build manual in Linux/Cygwin - xmlto is not available in Windows
|
|
|
|
|
|
|
|
SET(DOC_TARGETS "html")
|
|
|
|
|
|
|
|
# Build also htmlhelp in Cygwin - this can be used to build
|
|
|
|
# htmlhelp manual for Windows.
|
|
|
|
|
|
|
|
IF (CYGWIN)
|
|
|
|
SET(DOC_TARGETS
|
|
|
|
${DOC_TARGETS}
|
|
|
|
"htmlhelp"
|
|
|
|
)
|
|
|
|
ENDIF(CYGWIN)
|
|
|
|
|
2010-02-01 22:20:13 +01:00
|
|
|
IF (UNIX OR CYGWIN)
|
2010-01-06 11:54:27 +01:00
|
|
|
#macro XMLTO(outfiles infiles... MODES modes...)
|
|
|
|
INCLUDE("../CMake/xmlto.cmake")
|
2010-02-01 22:42:29 +01:00
|
|
|
XMLTO("" "manual.docbook" MODES ${DOC_TARGETS})
|
2010-02-01 22:20:13 +01:00
|
|
|
ENDIF (UNIX OR CYGWIN)
|