diff --git a/Documentation/SoftwareGuide/CMakeLists.txt b/Documentation/SoftwareGuide/CMakeLists.txt index d7ff78b3b40e0e0fde93d9bd0f0a6b2e806974a1..ed99e1f254df155908206465d2ff54c496d6dcb9 100644 --- a/Documentation/SoftwareGuide/CMakeLists.txt +++ b/Documentation/SoftwareGuide/CMakeLists.txt @@ -52,6 +52,7 @@ IF( NOT OTB_SOURCE_DIR ) MESSAGE(FATAL_ERROR "OTB source directory is not set. Please add OTB_SOURCE_DIR to your cmake cache.") ENDIF( NOT OTB_SOURCE_DIR ) +set(OTB_VERSION_STRING_FULL "${OTB_VERSION_MAJOR}.${OTB_VERSION_MINOR}.${OTB_VERSION_PATCH}") #OPTION(GENERATE_MONTEVERDI_DOC "Generate Monteverdi user guide as well" OFF) diff --git a/Documentation/SoftwareGuide/Latex/FAQ.tex b/Documentation/SoftwareGuide/Latex/FAQ.tex index c5ff3012ede6320da99f6d220b7953d6e1904d07..8e574f4aca3754a496fad54f3afe5b7586135de0 100644 --- a/Documentation/SoftwareGuide/Latex/FAQ.tex +++ b/Documentation/SoftwareGuide/Latex/FAQ.tex @@ -330,7 +330,7 @@ OTB's version numbers have 3 digits. The first one is for major versions, the second one is for minor versions and the last one is for bugfixes. -The first version was 1.0.0 in July 2006.The current one is 5.5.0. +The first version was 1.0.0 in July 2006.The current one is \otbversion. \subsubsection{What is a major version?} A major version of the library implies the addition of high-level diff --git a/Documentation/SoftwareGuide/Latex/OTB-FAQ.tex b/Documentation/SoftwareGuide/Latex/OTB-FAQ.tex index 911295413600429ccba2774cb98b78d42809c5e5..3d73953883cecb9ed89565744d0380fb5bc38972 100644 --- a/Documentation/SoftwareGuide/Latex/OTB-FAQ.tex +++ b/Documentation/SoftwareGuide/Latex/OTB-FAQ.tex @@ -44,7 +44,7 @@ \title{ORFEO Toolbox (OTB) Frequently Asked Questions (FAQ).\\ Updated - for OTB-5.5.0} + for OTB-\otbversion} \author{OTB Development Team} diff --git a/Documentation/SoftwareGuide/Latex/SoftwareGuide.tex b/Documentation/SoftwareGuide/Latex/SoftwareGuide.tex index 2f04e4eb69b388a6ee384bf6117488d72406b8be..4affc164b8cb456285dee6d1d72fde9db4f223f6 100644 --- a/Documentation/SoftwareGuide/Latex/SoftwareGuide.tex +++ b/Documentation/SoftwareGuide/Latex/SoftwareGuide.tex @@ -133,7 +133,7 @@ colorlinks,linkcolor={blue},citecolor={blue},urlcolor={blue}, %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \title{The ORFEO Tool Box Software Guide\\ Updated - for OTB-5.5.0} + for OTB-\otbversion} \author{OTB Development Team} diff --git a/Documentation/SoftwareGuide/SoftwareGuideConfiguration.tex.in b/Documentation/SoftwareGuide/SoftwareGuideConfiguration.tex.in index 83c69b6fcd6cb796b10dbd1a83f88bbc3426e82d..02868b264c65bf63aac1c3cb7c802772b1e72efc 100644 --- a/Documentation/SoftwareGuide/SoftwareGuideConfiguration.tex.in +++ b/Documentation/SoftwareGuide/SoftwareGuideConfiguration.tex.in @@ -21,3 +21,5 @@ % Define command for the standard comment introducing classes with similar functionalities \newcommand{\relatedClasses}{ \textbf{The following classes provide similar functionality:}} + +\newcommand{\otbversion}{@OTB_VERSION_STRING_FULL@}