From 4de70d5dec2df0a4a9f0f35bf275238117e3cae1 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 2 Nov 2011 21:09:22 +0100 Subject: [PATCH 1/1] Fix path for out-of-source builds. --- buildtools/Cmake/Distrib.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildtools/Cmake/Distrib.cmake b/buildtools/Cmake/Distrib.cmake index 4477a109c4..c5a0c3d286 100644 --- a/buildtools/Cmake/Distrib.cmake +++ b/buildtools/Cmake/Distrib.cmake @@ -21,7 +21,7 @@ endif( NOT MANPAGE_DIR) add_custom_target(manpages ALL COMMAND ${CMAKE_COMMAND} -E make_directory ${MANPAGE_DIR} - COMMAND pod2man tools/simgrid_update_xml.pl > ${MANPAGE_DIR}/simgrid_update_xml.1 + COMMAND pod2man ${CMAKE_HOME_DIRECTORY}/tools/simgrid_update_xml.pl > ${MANPAGE_DIR}/simgrid_update_xml.1 COMMENT "Generating manpages" ) install(FILES ${MANPAGE_DIR}/simgrid_update_xml.1 -- 2.20.1