--- CMakeLists.txt.orig	2017-05-14 23:13:15 UTC
+++ CMakeLists.txt
@@ -170,6 +170,8 @@ IF(DISABLE_SHARED)
 ENDIF()
 OPTION(ENABLED_PROFILING "Enable profiling" ON)
 OPTION(WITHOUT_SERVER "Build only the client library and clients" OFF)
+OPTION(WITHOUT_CLIENT "Build only the server components" OFF)
+OPTION(WITHOUT_DOCS   "Do not install documentation" OFF)
 IF(UNIX)
   OPTION(WITH_VALGRIND "Valgrind instrumentation" OFF)
 ENDIF()
@@ -452,6 +454,7 @@ ADD_CUSTOM_TARGET(INFO_BIN ALL
   WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
 )
 
+IF(NOT WITHOUT_DOCS)
 INSTALL_DOCUMENTATION(README.md CREDITS COPYING COPYING.thirdparty
                       EXCEPTIONS-CLIENT COMPONENT Readme)
 
@@ -463,6 +466,7 @@ IF(UNIX)
   INSTALL_DOCUMENTATION(Docs/INSTALL-BINARY COMPONENT Readme)
   INSTALL_DOCUMENTATION(Docs/INSTALL-BINARY Docs/README-wsrep COMPONENT Readme)
 ENDIF()
+ENDIF()
 
 INCLUDE(CPack)
 
