summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-05-09 18:07:36 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-05-09 18:07:36 (GMT)
commit5ecebe5b9bc161153a3391bf32eb64687f675172 (patch)
tree28dcf231bda84fa0d8047e6e6e1204b613cc8430 /CMakeLists.txt
parentfb396557fc760780f8b53433174b64d609f417e3 (diff)
downloadhdf5-5ecebe5b9bc161153a3391bf32eb64687f675172.zip
hdf5-5ecebe5b9bc161153a3391bf32eb64687f675172.tar.gz
hdf5-5ecebe5b9bc161153a3391bf32eb64687f675172.tar.bz2
[svn-r23692] Remove INSTALL_VMS file.
Added if block around INSTALL files
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt46
1 files changed, 28 insertions, 18 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b536980..8f7a2fe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -964,36 +964,46 @@ IF (NOT HDF5_EXTERNALLY_CONFIGURED)
)
IF (EXISTS "${HDF5_SOURCE_DIR}/release_docs" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/release_docs")
SET (release_files
- ${HDF5_SOURCE_DIR}/release_docs/INSTALL_CMake.txt
${HDF5_SOURCE_DIR}/release_docs/USING_HDF5_CMake.txt
${HDF5_SOURCE_DIR}/release_docs/COPYING
- ${HDF5_SOURCE_DIR}/release_docs/HISTORY-1_9.txt
- ${HDF5_SOURCE_DIR}/release_docs/INSTALL
${HDF5_SOURCE_DIR}/release_docs/RELEASE.txt
)
IF (WIN32 AND NOT CYGWIN)
SET (release_files
${release_files}
- ${HDF5_SOURCE_DIR}/release_docs/INSTALL_Windows.txt
- )
- ELSE (WIN32 AND NOT CYGWIN)
- SET (release_files
- ${release_files}
- ${HDF5_SOURCE_DIR}/release_docs/INSTALL_Cygwin.txt
- ${HDF5_SOURCE_DIR}/release_docs/INSTALL_VMS.txt
+ ${HDF5_SOURCE_DIR}/release_docs/USING_HDF5_VS.txt
)
ENDIF (WIN32 AND NOT CYGWIN)
- IF (HDF5_ENABLE_PARALLEL)
+ IF (HDF5_PACK_INSTALL_DOCS)
SET (release_files
${release_files}
- ${HDF5_SOURCE_DIR}/release_docs/INSTALL_parallel
+ ${HDF5_SOURCE_DIR}/release_docs/INSTALL_CMake.txt
+ ${HDF5_SOURCE_DIR}/release_docs/HISTORY-1_8.txt
+ ${HDF5_SOURCE_DIR}/release_docs/INSTALL
)
- ENDIF (HDF5_ENABLE_PARALLEL)
- INSTALL (
- FILES ${release_files}
- DESTINATION ${HDF5_INSTALL_DATA_DIR}/release_docs
- COMPONENT hdfdocuments
- )
+ IF (WIN32 AND NOT CYGWIN)
+ SET (release_files
+ ${release_files}
+ ${HDF5_SOURCE_DIR}/release_docs/INSTALL_Windows.txt
+ )
+ ELSE (WIN32 AND NOT CYGWIN)
+ SET (release_files
+ ${release_files}
+ ${HDF5_SOURCE_DIR}/release_docs/INSTALL_Cygwin.txt
+ )
+ ENDIF (WIN32 AND NOT CYGWIN)
+ IF (HDF5_ENABLE_PARALLEL)
+ SET (release_files
+ ${release_files}
+ ${HDF5_SOURCE_DIR}/release_docs/INSTALL_parallel
+ )
+ ENDIF (HDF5_ENABLE_PARALLEL)
+ INSTALL (
+ FILES ${release_files}
+ DESTINATION ${HDF5_INSTALL_DATA_DIR}/release_docs
+ COMPONENT hdfdocuments
+ )
+ ENDIF (HDF5_PACK_INSTALL_DOCS)
ENDIF (EXISTS "${HDF5_SOURCE_DIR}/release_docs" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/release_docs")
ENDIF (NOT HDF5_EXTERNALLY_CONFIGURED)