cmake: remove last tabs

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-19 22:53:29 +02:00
parent edc5d7d528
commit 79a2a6ad16

View file

@ -112,15 +112,15 @@ IF(AWESOME_GENERATE_MAN)
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
FOREACH(txtfile ${AWE_MAN_SRCS})
STRING(REGEX REPLACE ".txt\$" ".xml" xmlfile ${txtfile})
STRING(REGEX REPLACE ".txt\$" ".xml" xmlfile ${txtfile})
STRING(REGEX REPLACE ".xml\$" ".gz" gzipman ${xmlfile})
STRING(REPLACE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR} gzipman ${gzipman})
STRING(REGEX REPLACE ".gz\$" "" manfile ${gzipman})
STRING(REGEX REPLACE ".gz\$" "" manfile ${gzipman})
ADD_CUSTOM_COMMAND(TARGET ${PROJECT_AWECLIENT_NAME} POST_BUILD
COMMAND ${ASCIIDOC_EXECUTABLE} -d manpage -b docbook -o ${xmlfile} ${txtfile}
COMMAND ${XMLTO_EXECUTABLE} man ${xmlfile}
COMMAND ${XMLTO_EXECUTABLE} man ${xmlfile}
COMMAND ${GZIP_EXECUTABLE} -f ${manfile}
COMMENT "Generating manpage for ${manfile}")
ENDFOREACH()