From: Arnaud Giersch Date: Wed, 2 Nov 2011 20:09:22 +0000 (+0100) Subject: Fix path for out-of-source builds. X-Git-Tag: exp_20120216~514 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4de70d5dec2df0a4a9f0f35bf275238117e3cae1?hp=10beade7f2e5b5b7f318c3847602cc1ddbf09c99;ds=sidebyside Fix path for out-of-source builds. --- 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