summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildsystems/cmake/GtkDocConfig.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildsystems/cmake/GtkDocConfig.cmake b/buildsystems/cmake/GtkDocConfig.cmake
index 2de8d83..6f1ec4d 100644
--- a/buildsystems/cmake/GtkDocConfig.cmake
+++ b/buildsystems/cmake/GtkDocConfig.cmake
@@ -253,13 +253,13 @@ function(gtk_doc_add_module _doc_prefix)
${_depends}
${_remove_xml_if_needed}
COMMAND ${CMAKE_COMMAND} -E remove_directory ${_output_xml_dir}
+ ${_copy_xml_if_needed}
COMMAND ${GTKDOC_MKDB_EXE}
--module=${_doc_prefix}
${_source_dirs_opt}
--source-suffixes=${_doc_source_suffixes}
--output-format=xml
--main-sgml-file=${_default_xml_file}
- ${_copy_xml_if_needed}
WORKING_DIRECTORY "${_output_dir}"
VERBATIM)