[Git][reproducible-builds/reproducible-website][master] Improve the documentation for CMake.

Chris Lamb gitlab at salsa.debian.org
Mon Feb 24 23:37:58 UTC 2020



Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website


Commits:
6c0c999e by Chris Lamb at 2020-02-24T15:37:50-08:00
Improve the documentation for CMake.

- - - - -


1 changed file:

- _docs/source-date-epoch.md


Changes:

=====================================
_docs/source-date-epoch.md
=====================================
@@ -137,8 +137,9 @@ The above will work with either GNU or BSD date, and fallback to ignore `SOURCE_
 STRING(TIMESTAMP BUILD_DATE "%Y-%m-%d" UTC)
 ```
 
-works with cmake >= 2.8.11 , but is only reproducible with cmake >= 3.8.0.
-If you do not have a modern cmake, but need reproducibility, you can use the less preferred variant:
+... works with CMake versions 2.8.11 and higher, but is only respects
+`SOURCE_DATE_EPOCH` since version 3.8.0. If you do not have a modern CMake but
+need reproducibility you can use the less-preferred variant:
 
 ```
 if (DEFINED ENV{SOURCE_DATE_EPOCH})
@@ -154,7 +155,8 @@ else ()
 endif ()
 ```
 
-The above will work only with GNU date. See POSIX shell example on how to support BSD date.
+The above will work only with GNU `date`. See the POSIX shell example on how to
+support BSD date.
 
 ### Meson
 



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/6c0c999e014981b7a05f115bf634fdd5c2a1a358

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/6c0c999e014981b7a05f115bf634fdd5c2a1a358
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200224/955605ef/attachment.htm>


More information about the rb-commits mailing list