diff cmake/function/IrccdDefineMan.cmake @ 773:8c44bbcbbab9

Misc: style, cleanup and update
author David Demelier <markand@malikania.fr>
date Fri, 26 Oct 2018 13:01:00 +0200
parents 1b04ffb2b35e
children 06cc2f95f479
line wrap: on
line diff
--- a/cmake/function/IrccdDefineMan.cmake	Wed Oct 24 13:24:03 2018 +0200
+++ b/cmake/function/IrccdDefineMan.cmake	Fri Oct 26 13:01:00 2018 +0200
@@ -23,17 +23,17 @@
 # irccd_define_man(file, man)
 #
 # Parameters:
-#    file       The file name to build
-#    man        The man section
+#   file        The file name to build
+#   man         The man section
 #
 # This function configure the manual and install it if IRCCD_WITH_MAN is set.
 #
 
 function(irccd_define_man file man)
-    if (IRCCD_WITH_MAN)
-        set(input ${doc_SOURCE_DIR}/man/${file}.in)
-        set(output ${CMAKE_CURRENT_BINARY_DIR}/${file})
-        configure_file(${input} ${output} @ONLY)
-        install(FILES ${output} DESTINATION ${CMAKE_INSTALL_MANDIR}/${man})
-    endif ()
+	if (IRCCD_WITH_MAN)
+		set(input ${doc_SOURCE_DIR}/man/${file}.in)
+		set(output ${CMAKE_CURRENT_BINARY_DIR}/${file})
+		configure_file(${input} ${output} @ONLY)
+		install(FILES ${output} DESTINATION ${CMAKE_INSTALL_MANDIR}/${man})
+	endif ()
 endfunction()