1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-02 08:13:04 +00:00

Adding changelog to the debian package

This commit is contained in:
Carles Fernandez
2014-11-14 02:08:31 +01:00
parent 3c8e048612
commit a099d6a5b3
2 changed files with 10 additions and 0 deletions

View File

@@ -290,6 +290,11 @@ License: GPL-3+
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/copyright"
DESTINATION "share/doc/${CPACK_PACKAGE_NAME}")
execute_process(COMMAND gzip -9 -c ${CMAKE_CURRENT_SOURCE_DIR}/cmake/Packaging/changelog
WORKING_DIRECTORY ${CMAKE_BINARY_DIR} OUTPUT_FILE "${CMAKE_BINARY_DIR}/changelog.gz")
install(FILES "${CMAKE_BINARY_DIR}/changelog.gz" DESTINATION "share/doc/${CPACK_PACKAGE_NAME}")
endif(CPACK_GENERATOR STREQUAL "DEB")
include(CPack)