From 6dbfb638c6586905b3b29df9cf1e41d9166546ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 29 Mar 2023 22:38:01 +0200 Subject: doc: convert docgen.py to C, remove autogen files from repository, add parameter `--doc-gen` Changes: - build of doc now requires weechat-headless, translations and all plugins - convert docgen.py to C - remove `autogen_*` files from repository - add command line parameter `--doc-gen` in `weechat-headless` to build autogen files - build .mo files with directories like the installed ones (eg: "/LC_MESSAGES/weechat.mo") - remove javascript chapter from user's guide --- doc/pl/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'doc/pl/CMakeLists.txt') diff --git a/doc/pl/CMakeLists.txt b/doc/pl/CMakeLists.txt index 751b88f73..b452a8720 100644 --- a/doc/pl/CMakeLists.txt +++ b/doc/pl/CMakeLists.txt @@ -51,8 +51,6 @@ endif() if(ENABLE_DOC) - file(GLOB AUTOGEN_USER "${CMAKE_CURRENT_SOURCE_DIR}/includes/autogen_user_*.adoc") - # user's guide add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.pl.html @@ -61,7 +59,7 @@ if(ENABLE_DOC) ${CMAKE_CURRENT_SOURCE_DIR}/../docinfo.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.pl.adoc ${CMAKE_CURRENT_SOURCE_DIR}/includes/cmdline_options.pl.adoc - ${AUTOGEN_USER} + doc-autogen WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Building weechat_user.pl.html" ) -- cgit v1.2.3