X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/39c10dd760c8b935f9ba43b1140b930e3ae95fa1..c185b9e9fa38c53af013010f1f05bc0aebc519c6:/buildtools/Cmake/src/CMakeDistrib.txt diff --git a/buildtools/Cmake/src/CMakeDistrib.txt b/buildtools/Cmake/src/CMakeDistrib.txt index 62aa607561..caa7075b66 100755 --- a/buildtools/Cmake/src/CMakeDistrib.txt +++ b/buildtools/Cmake/src/CMakeDistrib.txt @@ -66,7 +66,7 @@ COMMAND cp ${PROJECT_DIRECTORY}/tools/MSG_visualization/colorize.pl $ENV{DESTDIR COMMAND echo "install bin OK" COMMAND cp ${install_libs} $ENV{DESTDIR}${prefix}/lib COMMAND echo "install lib OK" -COMMAND cp --parent ${install_HEADERS} $ENV{DESTDIR}${prefix} +COMMAND cp ${install_HEADERS} $ENV{DESTDIR}${prefix} COMMAND echo "install include OK" COMMAND cp -rf ${PROJECT_DIRECTORY}/doc/html/ $ENV{DESTDIR}${prefix}/doc/simgrid COMMAND echo "install doc/html OK" @@ -76,7 +76,7 @@ WORKING_DIRECTORY "${PROJECT_DIRECTORY}/" foreach(file ${ex_to_svg}) string(REPLACE "${PROJECT_DIRECTORY}" "." file "${file}") add_custom_command(TARGET install-simgrid - COMMAND cp --parents -f ${file} $ENV{DESTDIR}${prefix}/doc/simgrid/ + COMMAND cp -f ${file} $ENV{DESTDIR}${prefix}/doc/simgrid/ WORKING_DIRECTORY "${PROJECT_DIRECTORY}" ) endforeach(file ${ex_to_svg})