← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Fixes wrong directory removed within generation of documentation

 

Please attach patches rather than inline

On Thu, Jul 14, 2016 at 3:02 AM, Tobias Kohlbau
<tobias.kohlbau@xxxxxxxxx> wrote:
> Within building the documentation with doxygen for enabled KICAD_SCRIPTING the wrong directory is deleted.
> CMake tries to remove doxygen-python-xml but within Doxyfile_xml the output folder doxygen-xml is specified.
> This patch changes this behaviour to remove correct folder.
>
> Signed-off-by: Tobias Kohlbau <tobias.kohlbau@xxxxxxxxx>
> ---
>  pcbnew/CMakeLists.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pcbnew/CMakeLists.txt b/pcbnew/CMakeLists.txt
> index c4aff51..30e56ab 100644
> --- a/pcbnew/CMakeLists.txt
> +++ b/pcbnew/CMakeLists.txt
> @@ -460,7 +460,7 @@ if( DOXYGEN_FOUND )
>
>          # create XML files from doxygen parsing
>          add_custom_target( doxygen-python-xml
> -            ${CMAKE_COMMAND} -E remove_directory doxygen-python-xml
> +            ${CMAKE_COMMAND} -E remove_directory doxygen-xml
>              COMMAND SOURCES_DIR=${CMAKE_SOURCE_DIR} ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile_xml
>              WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
>              DEPENDS Doxyfile_xml
> --
> 2.9.0
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp


References