summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
Diffstat (limited to 'fluid')
-rw-r--r--fluid/documentation/CMakeLists.txt7
-rw-r--r--fluid/documentation/src/index.dox36
-rw-r--r--fluid/documentation/version.dox.in1
3 files changed, 26 insertions, 18 deletions
diff --git a/fluid/documentation/CMakeLists.txt b/fluid/documentation/CMakeLists.txt
index c729aecd9..3bbdcd755 100644
--- a/fluid/documentation/CMakeLists.txt
+++ b/fluid/documentation/CMakeLists.txt
@@ -47,6 +47,13 @@ if(FLTK_BUILD_FLUID_DOCS OR FLTK_BUILD_PDF_DOCS)
string(REGEX REPLACE " .*$" "" DOXYGEN_VERSION_SHORT ${DOXYGEN_VERSION})
endif(DOXYGEN_FOUND)
+ # configure version.dox (includes the bare FLTK version number)
+ configure_file(
+ ${CMAKE_CURRENT_SOURCE_DIR}/version.dox.in
+ ${CMAKE_CURRENT_BINARY_DIR}/version.dox
+ @ONLY
+ )
+
# configure copyright.dox (includes current year)
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/copyright.dox.in
diff --git a/fluid/documentation/src/index.dox b/fluid/documentation/src/index.dox
index 94c47b4c5..6afbbcc1b 100644
--- a/fluid/documentation/src/index.dox
+++ b/fluid/documentation/src/index.dox
@@ -2,27 +2,27 @@
/**
- \cond FL_HTML_INDEX
+\cond FL_HTML_INDEX
- \mainpage FLUID User Manual
+\mainpage FLUID User Manual
- <TABLE CELLPADDING="8" CELLSPACING="0" SUMMARY="TITLE BAR" WIDTH="100%" BORDER="0">
- <TR>
- <TD><CENTER>
- \image html fluid-128.png
- \image latex fluid-128.png "" width=3cm
- </CENTER></TD>
- <TD><CENTER>
- <B>FLUID 1.5.0 User Manual</B>
-
- By F.&nbsp;Costantini, M.&nbsp;Melcher,
- A.&nbsp;Schlosser, B.&nbsp;Spitzak and M.&nbsp;Sweet.
-
- Copyright © 1998 - 2025 by Bill Spitzak and others.
- </CENTER></TD>
- </TR>
- </TABLE>
+<TABLE CELLPADDING="8" CELLSPACING="0" SUMMARY="TITLE BAR" WIDTH="100%" BORDER="0">
+<TR>
+ <TD><CENTER>
+ \image html fluid-128.png
+ \image latex fluid-128.png "" width=3cm
+ </CENTER></TD>
+ <TD><CENTER>
+ <B>FLUID \include{doc} version.dox User Manual</B>
+
+ By F.&nbsp;Costantini, M.&nbsp;Melcher,
+ A.&nbsp;Schlosser, B.&nbsp;Spitzak and M.&nbsp;Sweet.
+
+ \include{doc} copyright.dox
+ </CENTER></TD>
+</TR>
+</TABLE>
<TABLE CELLPADDING="8" CELLSPACING="0" SUMMARY="TITLE BAR" WIDTH="100%" BORDER="0">
<TR>
diff --git a/fluid/documentation/version.dox.in b/fluid/documentation/version.dox.in
new file mode 100644
index 000000000..569b8ea85
--- /dev/null
+++ b/fluid/documentation/version.dox.in
@@ -0,0 +1 @@
+@FLTK_VERSION@