From cea3a27ed3b956e0af750fe102ce0c1c32ae8843 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Fri, 25 Jan 2019 18:57:16 +0100 Subject: [PATCH] Cleanup dbus.devhelp2 make target pathes Use absolute paths to avoid confusion about where the associated file is located. --- doc/CMakeLists.txt | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 399e5313..ea653547 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -40,10 +40,14 @@ endif() if(DBUS_HAVE_XSLTPROC) add_custom_command( - OUTPUT dbus.devhelp2 - COMMAND ${XSLTPROC_EXECUTABLE} -o dbus.devhelp2 ${CMAKE_CURRENT_SOURCE_DIR}/doxygen_to_devhelp.xsl api/xml/index.xml - DEPENDS doxygen_to_devhelp.xsl api/html/index.html - WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/dbus.devhelp2 + COMMAND ${XSLTPROC_EXECUTABLE} + -o ${CMAKE_CURRENT_BINARY_DIR}/dbus.devhelp2 + ${CMAKE_CURRENT_SOURCE_DIR}/doxygen_to_devhelp.xsl + ${CMAKE_CURRENT_BINARY_DIR}/api/xml/index.xml + DEPENDS + ${CMAKE_CURRENT_SOURCE_DIR}/doxygen_to_devhelp.xsl + ${CMAKE_CURRENT_BINARY_DIR}/api/html/index.html ) add_custom_target(devhelp2 DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/api/html/index.html ${CMAKE_CURRENT_BINARY_DIR}/dbus.devhelp2