Remove check that auto-generated files exist
authorRoland Schulz <roland@utk.edu>
Sat, 16 Aug 2014 21:21:21 +0000 (17:21 -0400)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 17 Aug 2014 19:48:34 +0000 (21:48 +0200)
The check is redundant because we check in cpack that all files
are available.

Change-Id: I8ccd37ac1b4b4225b389711c7fb7f2bb0e473f78

share/html/CMakeLists.txt
share/man/CMakeLists.txt
src/programs/CMakeLists.txt

index 861151879c922bfdb290c138c33c6dbe3f7cfbbf..176901b7ed0189ac6bb9688c3e2bb266e9c38857 100644 (file)
 set(OUTPUT_DIR final)
 set(HTML_PAGE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/${OUTPUT_DIR})
 
-if(SOURCE_IS_SOURCE_DISTRIBUTION)
-    # Make sure source package contains HTML pages.
-    if(NOT EXISTS "${HTML_PAGE_DIR}/online.html")
-        message(FATAL_ERROR "Online HTML pages are missing from source package.")
-    endif()
-endif()
-
 add_custom_target(html
     ${CMAKE_COMMAND}
     -D SOURCE_HTML_DIR=${CMAKE_CURRENT_SOURCE_DIR}
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
index 6d907b88e92326c24d1ef236d406c42596bd36f0..8bc5eb7b067fe34967ba13c2019f0e72c1d44284 100644 (file)
@@ -80,12 +80,6 @@ else()
     # Completion generation
 
     set(COMPLETION_DIR ${CMAKE_CURRENT_SOURCE_DIR}/completion)
-    if(SOURCE_IS_SOURCE_DISTRIBUTION)
-        # Make sure source package contains the completions.
-        if(NOT EXISTS "${COMPLETION_DIR}/gmx-completion.bash")
-            message(FATAL_ERROR "Shell completions are missing from source package.")
-        endif()
-    endif()
     file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/completion)
     add_custom_target(completion
         gmx -quiet help -export completion