Merge release-5-0 into master
[alexxy/gromacs.git] / docs / man / CMakeLists.txt
index ffcff945a74d5fc21ffbb1157f794befb4452cfd..372c797a4c6561332af02d7890b3fd303ea1e42f 100644 (file)
 # To help us fund GROMACS development, we humbly ask that you cite
 # the research papers on the package. Check out http://www.gromacs.org.
 
-if(SOURCE_IS_SOURCE_DISTRIBUTION)
-    # Make sure source package contains all man pages.
-    if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/man1/gmx-view.1")
-        message(FATAL_ERROR "Man pages are missing from source package.")
-    endif()
-endif()
-
 add_custom_target(man
     ${CMAKE_COMMAND} -E make_directory man1
     COMMAND ${CMAKE_COMMAND} -E make_directory man7