mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
cmake: remove last tabs
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
edc5d7d528
commit
79a2a6ad16
1 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue