Add initial support for python bindings
[alexxy/gromacs.git] / share / CMakeLists.txt
index e1cfc80e37b44ab8a7aafefbf8c2131c279f08c6..e82d2d5baa28ace039a4921e7d1fe824c7cd9dc0 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2009,2010,2011,2012,2013, by the GROMACS development team, led by
+# Copyright (c) 2009,2010,2011,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.
 
-option(GMX_BUILD_HELP "Build man pages and HTML help automatically" OFF)
-mark_as_advanced(GMX_BUILD_HELP)
-if (GMX_BUILD_HELP AND SOURCE_IS_SOURCE_DISTRIBUTION AND
-    "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
-
-    message(FATAL_ERROR
-        "Rebuilding HTML and man pages it not supported for in-source "
-        "builds from a source distribution. "
-        "Set GMX_BUILD_HELP=OFF or do an out-of-source build to proceed.")
-endif()
-
-add_subdirectory(html)
-add_subdirectory(man)
 add_subdirectory(template)
 
 install(FILES README.tutor README_FreeEnergyModifications.txt
     DESTINATION ${DATA_INSTALL_DIR}
     COMPONENT data)
 install(DIRECTORY top
-    DESTINATION ${DATA_INSTALL_DIR}/top
+    DESTINATION ${DATA_INSTALL_DIR}
     COMPONENT data
     PATTERN "*~" EXCLUDE)