From: Arnaud Giersch Date: Mon, 14 Mar 2022 14:49:31 +0000 (+0100) Subject: Remove target "make uninstall". X-Git-Tag: v3.31~121 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b232b47af969f80091d79d8c5fd6eb4dad032a86 Remove target "make uninstall". Close simgrid/simgrid#104 --- diff --git a/ChangeLog b/ChangeLog index ebb114187f..46f2d6aaf9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -74,12 +74,16 @@ Python: - Comm.wait_any_for() - Comm.wait_all_for() [example: examples/python/comm-waitallfor] +Build System: + - Remove target "make uninstall" which was incomplete and no longer maintained. + Fixed bugs (FG#.. -> FramaGit bugs; FG!.. -> FG merge requests) (FG: issues on Framagit; GH: issues on GitHub) - FG#57: Mc SimGrid should test whether ptrace is usable - FG#87: Smpi scripts fail with spaces in paths - FG#100: [SMPI] Order of the message matching is not guaranteed - FG#101: LGPL 2.1 is deprecated license + - FG#104: "make uninstall" not up-to-date - GH#151: Missing mutexes for DPOR. ---------------------------------------------------------------------------- diff --git a/docs/source/Installing_SimGrid.rst b/docs/source/Installing_SimGrid.rst index 1cbd7fb340..d7e218509c 100644 --- a/docs/source/Installing_SimGrid.rst +++ b/docs/source/Installing_SimGrid.rst @@ -359,7 +359,6 @@ if some do not work for you. - **make java-all**: Build all Java examples and their dependencies - **make clean**: Clean the results of a previous compilation - **make install**: Install the project (doc/ bin/ lib/ include/) -- **make uninstall**: Uninstall the project (doc/ bin/ lib/ include/) - **make dist**: Build a distribution archive (tar.gz) - **make distcheck**: Check the dist (make + make dist + tests on the distribution) - **make documentation**: Create SimGrid documentation diff --git a/tools/cmake/Distrib.cmake b/tools/cmake/Distrib.cmake index 8becc027e6..47e89116f5 100644 --- a/tools/cmake/Distrib.cmake +++ b/tools/cmake/Distrib.cmake @@ -84,50 +84,6 @@ foreach(file ${examples_to_install}) DESTINATION ${CMAKE_INSTALL_DOCDIR}/examples/${location}) endforeach(file ${examples_to_install}) -########################################### -### Fill in the "make uninstall" target ### -########################################### - -add_custom_target(uninstall - COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_INSTALL_PREFIX}/doc/simgrid - COMMAND ${CMAKE_COMMAND} -E echo "uninstall doc ok" - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/lib/libsimgrid* - COMMAND ${CMAKE_COMMAND} -E echo "uninstall lib ok" - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/bin/smpicc - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/bin/smpicxx - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/bin/smpiff - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/bin/smpif90 - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/bin/smpirun - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/bin/tesh - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/bin/simgrid-colorizer - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/bin/simgrid_update_xml - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/bin/simgrid_convert_TI_traces - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/bin/graphicator - COMMAND ${CMAKE_COMMAND} -E echo "uninstall bin ok" - COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_INSTALL_PREFIX}/include/instr - COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_INSTALL_PREFIX}/include/msg - COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_INSTALL_PREFIX}/include/smpi - COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_INSTALL_PREFIX}/include/simix - COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_INSTALL_PREFIX}/include/surf - COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_INSTALL_PREFIX}/include/xbt - COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_INSTALL_PREFIX}/include/mc - COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_INSTALL_PREFIX}/include/simgrid - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/include/simgrid.h - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/include/simgrid/config.h - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/include/xbt.h - COMMAND ${CMAKE_COMMAND} -E echo "uninstall include ok" - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/share/man/man1/simgrid_update_xml.1 - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/share/man/man1/tesh.1 - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/share/man/man1/smpicc.1 - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/share/man/man1/smpicxx.1 - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/share/man/man1/smpirun.1 - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/share/man/man1/smpiff.1 - COMMAND ${CMAKE_COMMAND} -E remove -f ${CMAKE_INSTALL_PREFIX}/share/man/man1/smpif90.1 - - - COMMAND ${CMAKE_COMMAND} -E echo "uninstall man ok" - WORKING_DIRECTORY "${CMAKE_INSTALL_PREFIX}") - ################################################################ ## Build a sane "make dist" target to build a source package ### ## containing only the files that I explicitly state ###