Fix: make reproducible by not embedding timestamps

By default gzip embeds a timestamps which makes building it twice
not reproducible, passing -n skips this embedding behaviour.

Motivation: https://reproducible-builds.org
This commit is contained in:
Jelle van der Waa 2020-10-14 21:24:48 +02:00 committed by Charles Pigott
parent 5043f6feff
commit b6615b2cd4
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ if(OPTION_INSTALL_FHS)
install(CODE
"
execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${MAN_SOURCE_FILE} ${MAN_BINARY_FILE})
execute_process(COMMAND gzip -9 -f ${MAN_BINARY_FILE})
execute_process(COMMAND gzip -9 -n -f ${MAN_BINARY_FILE})
"
COMPONENT manual)
install(FILES