Remove the timestamps from the zipped changelog file.
This commit is contained in:
parent
fbd7d8684e
commit
a00b36eaae
|
@ -96,7 +96,7 @@ if (UNIX AND NOT MINGW)
|
||||||
set(GZNAME "changelog.Debian.gz")
|
set(GZNAME "changelog.Debian.gz")
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${GZNAME}"
|
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${GZNAME}"
|
||||||
COMMAND gzip -c -k -9 "${CMAKE_CURRENT_SOURCE_DIR}/changelog" > ${CMAKE_CURRENT_BINARY_DIR}/${GZNAME}
|
COMMAND gzip -c -k -n -9 "${CMAKE_CURRENT_SOURCE_DIR}/changelog" > ${CMAKE_CURRENT_BINARY_DIR}/${GZNAME}
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||||
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/changelog"
|
DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/changelog"
|
||||||
COMMENT "Compressing the changelog file"
|
COMMENT "Compressing the changelog file"
|
||||||
|
|
Loading…
Reference in New Issue