* 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. Under the traditional build system, don't attempt to handle SOURCE_DATE_EPOCH because date's portable interface is too limited, just supply PDF_DATE and TODAY values corresponding to the current date (and time zone) and use the C (English) locale for month names and abbreviations. * Fix missing parts and a syntax error in documentation/Makefile - documentation/Makefile: - add make_pdf to target 'clean' - add make_pdf to dependencies of 'refman.pdf' - add missing quotes to `date` command - documentation/.gitignore: add make_pdf --------- Co-authored-by: Albrecht Schlosser <albrechts.fltk@online.de>
36 lines
960 B
TeX
36 lines
960 B
TeX
%
|
|
% FLTK PDF documentation title page (LaTeX)
|
|
%
|
|
\begin{titlepage}
|
|
\vspace*{5cm}
|
|
\begin{center}%
|
|
{\Huge FLTK @FLTK_VERSION@ Programming Manual}\\
|
|
\vspace*{2cm}
|
|
\begin{DoxyImageNoCaption}
|
|
\mbox{\includegraphics[width=6cm]{FL200.png}}
|
|
\end{DoxyImageNoCaption}\\
|
|
\vspace*{2cm}
|
|
{\Large
|
|
By F. Costantini, M. Melcher, \\
|
|
A. Schlosser, B. Spitzak, and M. Sweet.}\\
|
|
\vspace*{1.5cm}
|
|
{\large Copyright © 1998 - @YEAR@ by Bill Spitzak and others.}\\
|
|
\vspace*{0.75cm}
|
|
{\small
|
|
This software and manual are provided under the terms of the GNU Library General Public License.}\\
|
|
{\small
|
|
Permission is granted to reproduce this manual or any portion for any purpose,}\\
|
|
{\small
|
|
provided this copyright and permission notice are preserved.}\\
|
|
\vspace*{1.5cm}
|
|
{\large Generated by Doxygen @DOXY_VERSION@}\\
|
|
\vspace*{0.5cm}
|
|
@TODAY@\\
|
|
\vspace*{0.5cm}
|
|
{\small Git revision @FLTK_GIT_REVISION@}\\
|
|
\end{center}
|
|
\end{titlepage}
|
|
%
|
|
% end of FLTK PDF documentation title page (LaTeX)
|
|
%
|