Remove check that auto-generated files exist
[alexxy/gromacs.git] / share / man / CMakeLists.txt
index f61222e25117587baf42f98ae785dcbfa95df0f5..372c797a4c6561332af02d7890b3fd303ea1e42f 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2012,2013, by the GROMACS development team, led by
+# Copyright (c) 2012,2013,2014, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
 # 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