summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-07-21 20:38:53 (GMT)
committerBrad King <brad.king@kitware.com>2003-07-21 20:38:53 (GMT)
commita1bb1a47129380421fd9490688502ce5bee2e59f (patch)
treefadcd7e650d2da27ca29c2a5da6195969abe355b /Source/CMakeLists.txt
parentd4afed0724866e093f0ae5bf8895ab1e1db3e4c4 (diff)
downloadCMake-a1bb1a47129380421fd9490688502ce5bee2e59f.zip
CMake-a1bb1a47129380421fd9490688502ce5bee2e59f.tar.gz
CMake-a1bb1a47129380421fd9490688502ce5bee2e59f.tar.bz2
ENH: Added optional configuration of data/doc/man dirs. This will be useful for package maintainers.
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt17
1 files changed, 1 insertions, 16 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index d0c75ed..38cafb6 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -356,22 +356,7 @@ ENDIF(BUILD_TESTING)
INCLUDE (${CMAKE_BINARY_DIR}/Source/LocalUserOptions.cmake OPTIONAL)
INCLUDE (${CMAKE_SOURCE_DIR}/Source/LocalUserOptions.cmake OPTIONAL)
-IF(WIN32)
- SET(CMD ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/cmake.exe)
-ELSE(WIN32)
- SET(CMD ${EXECUTABLE_OUTPUT_PATH}/${CMAKE_CFG_INTDIR}/cmake)
-ENDIF(WIN32)
-
-MAKE_DIRECTORY(${CMake_BINARY_DIR}/Docs)
-ADD_CUSTOM_TARGET(documentation ALL ${CMD}
- --copyright ${CMake_BINARY_DIR}/Docs/Copyright.txt
- --help-full ${CMake_BINARY_DIR}/Docs/cmake.txt
- --help-html ${CMake_BINARY_DIR}/Docs/cmake.html
- --help-man ${CMake_BINARY_DIR}/Docs/cmake.1
- )
-ADD_DEPENDENCIES(documentation cmake)
-
INSTALL_TARGETS(/bin cmake)
INSTALL_TARGETS(/bin ctest)
INSTALL_TARGETS(/bin cmaketest)
-INSTALL_FILES(/share/CMake/include cmCPluginAPI.h)
+INSTALL_FILES(${CMAKE_DATA_DIR}/include cmCPluginAPI.h)