Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill useless target "make maintainer-clean".
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 9 Mar 2022 10:34:24 +0000 (11:34 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 9 Mar 2022 10:34:49 +0000 (11:34 +0100)
It only tries to remove an non-existent file...

tools/cmake/Distrib.cmake

index 43184e8..8becc02 100644 (file)
@@ -129,7 +129,7 @@ add_custom_target(uninstall
   WORKING_DIRECTORY "${CMAKE_INSTALL_PREFIX}")
 
 ################################################################
-## Build a sain "make dist" target to build a source package ###
+## Build a sane "make dist" target to build a source package ###
 ##    containing only the files that I explicitly state      ###
 ##   (instead of any cruft laying on my disk as CPack does)  ###
 ################################################################
@@ -332,12 +332,4 @@ else()
 endif()
 add_dependencies(check tests)
 
-#######################################
-### Fill in the "make xxx-clean" target ###
-#######################################
-
-add_custom_target(maintainer-clean
-  COMMAND ${CMAKE_COMMAND} -E remove -f src/mpif.f90
-  WORKING_DIRECTORY "${CMAKE_HOME_DIRECTORY}")
-
 include(CPack)