diff options
Diffstat (limited to 'doc/fr/CMakeLists.txt')
-rw-r--r-- | doc/fr/CMakeLists.txt | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/doc/fr/CMakeLists.txt b/doc/fr/CMakeLists.txt index 78652e435..a21e8bc01 100644 --- a/doc/fr/CMakeLists.txt +++ b/doc/fr/CMakeLists.txt @@ -51,9 +51,6 @@ endif() if(ENABLE_DOC) - file(GLOB AUTOGEN_USER "${CMAKE_CURRENT_SOURCE_DIR}/includes/autogen_user_*.adoc") - file(GLOB AUTOGEN_PLUGIN "${CMAKE_CURRENT_SOURCE_DIR}/includes/autogen_api_*.adoc") - # user's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.fr.html @@ -62,7 +59,7 @@ if(ENABLE_DOC) ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.fr.adoc ${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.fr.adoc - ${AUTOGEN_USER} + doc-autogen WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_user.fr.html" ) @@ -76,7 +73,7 @@ if(ENABLE_DOC) DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.fr.adoc - ${AUTOGEN_PLUGIN} + doc-autogen WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_plugin_api.fr.html" ) |