jeaye / stdman

Formatted C++20 stdlib man pages (cppreference)
MIT License
938 stars 51 forks source link

Preserve timestamps on installation #49

Closed carlocab closed 2 years ago

carlocab commented 2 years ago

Passing -p to install will preserve the timestamps from the original files. This helps ensure that builds from the same source are reproducible [1].

Tested with both BSD and GNU install [2, 3], so this will work on both macOS and Linux.

[1] See https://reproducible-builds.org. [2] https://man7.org/linux/man-pages/man1/install.1.html [3] https://www.freebsd.org/cgi/man.cgi?query=install

jeaye commented 2 years ago

Thanks! Resolved that trivial conflict for you.

carlocab commented 2 years ago

Thanks!