Fixed #183
This commit is contained in:
parent
3df5b60ca1
commit
e0833dc8ab
|
@ -181,7 +181,8 @@ if (UNIX)
|
|||
set(TIDY_MANFILE tidy5.1)
|
||||
set(TIDY1XSL ../documentation/tidy1.xsl)
|
||||
set(TIDYHELP ${CMAKE_BINARY_DIR}/tidy-help.xml)
|
||||
add_custom_target(man ALL)
|
||||
set(TIDYCONFIG ../documentation/tidy-config.xml)
|
||||
add_custom_target(man ALL DEPENDS "${CMAKE_BINARY_DIR}/tidy5")
|
||||
|
||||
# run built EXE to generate xml output
|
||||
add_custom_command(
|
||||
|
@ -191,6 +192,14 @@ if (UNIX)
|
|||
VERBATIM
|
||||
)
|
||||
|
||||
# run built EXE to generate more xml output
|
||||
add_custom_command(
|
||||
TARGET man
|
||||
COMMAND ${CMAKE_BINARY_DIR}/tidy5 -xml-config > ${TIDYCONFIG}
|
||||
COMMENT "Generate ${TIDYHELP}"
|
||||
VERBATIM
|
||||
)
|
||||
|
||||
# run xsltproc to generate the install files..
|
||||
add_custom_command(
|
||||
TARGET man
|
||||
|
|
Loading…
Reference in a new issue