Skip to content

Commit

Permalink
Ignore timestamps recording in gzip metadata (#1982)
Browse files Browse the repository at this point in the history
Use the `-n / --noname` option to ignore non-deterministric information, such as timestamps, in gzip metadata.

This is required for reproducible builds.
See https://reproducible-builds.org/.
  • Loading branch information
Antiz96 authored Feb 13, 2025
1 parent dc202ae commit 994db15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ if(UNIX AND NOT APPLE)
add_custom_command(
OUTPUT ${MAN_OUTPUT_FILE}
COMMAND ${HELP2MAN} $<TARGET_FILE:f3d> -N -n "fast and minimalist 3D viewer" > ${MAN_OUTPUT_FILE}
COMMAND ${GZIP} -f ${MAN_OUTPUT_FILE}
COMMAND ${GZIP} -fn ${MAN_OUTPUT_FILE}
DEPENDS f3d)
add_custom_target(man ALL DEPENDS ${MAN_OUTPUT_FILE})

Expand Down

0 comments on commit 994db15

Please sign in to comment.