summaryrefslogtreecommitdiff
path: root/documentation/src
diff options
context:
space:
mode:
authorAaron M. Ucko <ucko@debian.org>2025-03-30 20:56:57 -0400
committerAlbrecht Schlosser <fltk@aljus.de>2025-04-02 20:25:07 +0200
commit678c85027294c0ae5162d02b20a59fde758ac77a (patch)
tree4b55b758b14e08ee4b6ed737e74efda11874318b /documentation/src
parent794d493eb685674a964cee1b68d81ee455987252 (diff)
Use CMake's built-in timestamp formatting.
It notably honors SOURCE_DATE_EPOCH if set, making for reproducible output. For even better reproducibility, use UTC. (Unlike the date command's output, the result is already always in English.) Extend this approach to the book, introducing appropriately formatted PDF_DATE and TODAY variables for its PDF metadata and title page respectively and making make_pdf configurable.
Diffstat (limited to 'documentation/src')
-rw-r--r--documentation/src/fltk-title.tex.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/src/fltk-title.tex.in b/documentation/src/fltk-title.tex.in
index cc7f853c9..5096461c2 100644
--- a/documentation/src/fltk-title.tex.in
+++ b/documentation/src/fltk-title.tex.in
@@ -25,7 +25,7 @@ provided this copyright and permission notice are preserved.}\\
\vspace*{1.5cm}
{\large Generated by Doxygen @DOXY_VERSION@}\\
\vspace*{0.5cm}
-\today{}\\
+@TODAY@\\
\vspace*{0.5cm}
{\small Git revision @FLTK_GIT_REVISION@}\\
\end{center}