aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Gysin <christoph.gysin@gmail.com>2015-12-02 07:04:24 +0200
committerChristoph Gysin <christoph.gysin@gmail.com>2015-12-02 07:06:32 +0200
commitad22b072bc7b8ae7123a4cbefbab1855d3e305b8 (patch)
treef5f4a4d967df153386d7f4dca82ca4951ea3ed5a
parent9b9d968cbfb04c190f86790376ea9be5f391ac49 (diff)
cmake: fix indentation
-rw-r--r--CMake/Manpage.cmake28
1 files changed, 14 insertions, 14 deletions
diff --git a/CMake/Manpage.cmake b/CMake/Manpage.cmake
index 4842387e..9e178a2f 100644
--- a/CMake/Manpage.cmake
+++ b/CMake/Manpage.cmake
@@ -4,28 +4,28 @@ add_custom_target(man ALL)
function(add_manpage name section)
add_custom_command(
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${name}.${section}
- COMMAND ${A2X_COMMAND}
- --no-xmllint
- --doctype manpage
- --format manpage
- -D ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
- ${CMAKE_CURRENT_SOURCE_DIR}/${name}.${section}.txt
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${name}.${section}.txt
- COMMENT Generating manpage for ${name}.${section}
+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${name}.${section}
+ COMMAND ${A2X_COMMAND}
+ --no-xmllint
+ --doctype manpage
+ --format manpage
+ -D ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
+ ${CMAKE_CURRENT_SOURCE_DIR}/${name}.${section}.txt
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${name}.${section}.txt
+ COMMENT Generating manpage for ${name}.${section}
)
add_custom_target(man-${name}.${section}
- DEPENDS
- ${CMAKE_CURRENT_BINARY_DIR}/${name}.${section}
+ DEPENDS
+ ${CMAKE_CURRENT_BINARY_DIR}/${name}.${section}
)
add_dependencies(man
man-${name}.${section}
)
install(
- FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name}.${section}
- DESTINATION share/man/man${section}
- COMPONENT documentation
+ FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name}.${section}
+ DESTINATION share/man/man${section}
+ COMPONENT documentation
)
endfunction()