mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 03:12:41 +00:00
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:
parent
5043f6feff
commit
b6615b2cd4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user