Cleanup dbus.devhelp2 make target pathes

Use absolute paths to avoid confusion about where
the associated file is located.
This commit is contained in:
Ralf Habacker 2019-01-25 18:57:16 +01:00
parent e840edec09
commit cea3a27ed3

View file

@ -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