Commit 52acea00 authored by Jan Becker's avatar Jan Becker
Browse files

[system] Move changelog installation to system project

parent e9e3d6a0
......@@ -69,6 +69,8 @@ SET(PROJECT_CONFIG_DIR etc)
SET(PROJECT_SHARE_DIR share)
SET(PROJECT_API_H api.h)
SET(SC3_PACKAGE_ROOT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
# Default directories that can be overridden in the
# subprojects
SET(SC3_PACKAGE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
......@@ -81,11 +83,6 @@ SET(SC3_PACKAGE_TEMPLATES_DIR templates)
# SET(PROJECT_TEST_DATA_DIR ${CMAKE_SOURCE_DIR}/src/core/test/data)
# Install CHANGLOG to share/doc/seiscomp3
IF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CHANGELOG.md")
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/CHANGELOG.md DESTINATION ${SC3_PACKAGE_SHARE_DIR}/doc/seiscomp3 RENAME CHANGELOG)
ENDIF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CHANGELOG.md")
# Platform check
#
IF (APPLE AND ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
......
SC_BEGIN_PACKAGE(SYSTEM)
# Install CHANGLOG to share/doc/seiscomp3
IF(EXISTS "${SC3_PACKAGE_ROOT_SOURCE_DIR}/CHANGELOG.md")
INSTALL(FILES ${SC3_PACKAGE_ROOT_SOURCE_DIR}/CHANGELOG.md DESTINATION ${SC3_PACKAGE_SHARE_DIR}/doc/seiscomp3 RENAME CHANGELOG)
ENDIF(EXISTS "${SC3_PACKAGE_ROOT_SOURCE_DIR}/CHANGELOG.md")
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/libs)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/libs)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment