Skip to content

Commit 37c9d72

Browse files
author
Francois Budin
committed
ENH: Add patch number to ITK version in Software guide
The Software guide was only specifying the major and minor version of ITK but not the patch version. This was not specific enough if it was generated for a new patch version of ITK. The patch version has been added. Change-Id: I33ce6b349cee223d180efecc9ae14749c5e326f9
1 parent 0f4531d commit 37c9d72

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

SoftwareGuide/Latex/ITKSoftwareGuide-Book1.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616

1717
\title{The ITK Software Guide\\Book 1: Introduction and Development Guidelines\\Fourth Edition\\ \emph{Updated for ITK version
18-
\ITKVERSIONMAJORMINOR}}
18+
\ITKVERSIONMAJORMINORPATCH}}
1919

2020

2121
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -38,7 +38,7 @@
3838
Book 1: Introduction and Development Guidelines\\
3939
\normalsize
4040
\par
41-
\emph{Updated for version \ITKVERSIONMAJORMINOR}\\
41+
\emph{Updated for version \ITKVERSIONMAJORMINORPATCH}\\
4242

4343
\end{minipage}
4444

SoftwareGuide/Latex/ITKSoftwareGuide-Book2.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616

1717
\title{The ITK Software Guide\\Book 2: Design and Functionality\\Fourth Edition\\ \emph{Updated for ITK version
18-
\ITKVERSIONMAJORMINOR}}
18+
\ITKVERSIONMAJORMINORPATCH}}
1919

2020

2121
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -38,7 +38,7 @@
3838
Book 2: Design and Functionality\\
3939
\normalsize
4040
\par
41-
\emph{Updated for version \ITKVERSIONMAJORMINOR}\\
41+
\emph{Updated for version \ITKVERSIONMAJORMINORPATCH}\\
4242

4343
\end{minipage}
4444

SoftwareGuide/Latex/Introduction/Installation.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ \subsection{Downloading Packaged Releases}
8282
systems.
8383

8484
Once you unzip or untar the file a directory called
85-
\code{InsightToolkit-\ITKVERSIONMAJORMINOR.0} will be created in your disk and
85+
\code{InsightToolkit-\ITKVERSIONMAJORMINORPATCH} will be created in your disk and
8686
you will be ready to start the configuration process described in Section
8787
\ref{sec:CMakeforITK} on page \pageref{sec:CMakeforITK}.
8888

@@ -171,7 +171,7 @@ \subsection{Preparing CMake}
171171
download the source code and build CMake on your system. Follow the instructions
172172
provided on the CMake web page for downloading and installing the software. The
173173
minimum version of CMake has been evolving along with the version of ITK. For
174-
example, the current version of ITK (\ITKVERSIONMAJORMINOR) requires the minimum
174+
example, the current version of ITK (\ITKVERSIONMAJORMINORPATCH) requires the minimum
175175
CMake version to be 2.8.9.
176176

177177
CMake provides a terminal-based interface (Figure \ref{fig:CMakeGUI})

SoftwareGuide/Latex/Introduction/Introduction.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ \chapter{Welcome}
22
\label{chapter:Introduction}
33

44
Welcome to the \emph{Insight Segmentation and Registration Toolkit (ITK)
5-
Software Guide}. This book has been updated for ITK \ITKVERSIONMAJORMINOR
5+
Software Guide}. This book has been updated for ITK \ITKVERSIONMAJORMINORPATCH
66
\ and later versions of the Insight Toolkit software.
77

88
ITK is an open-source, object-oriented software system for image processing,

SoftwareGuide/SoftwareGuideConfiguration.tex.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
\graphicspath{{@SoftwareGuide_SOURCE_DIR@/Art/}{@SoftwareGuide_BINARY_DIR@/Art/}{@SoftwareGuide_BINARY_DIR@/Art/Generated/}}
44
\def\bibtexdatabasepath{@SoftwareGuide_SOURCE_DIR@/../Latex/Insight}
55
\def\ITKVERSIONMAJORMINOR{@ITK_VERSION_MAJOR@.@ITK_VERSION_MINOR@}
6+
\def\ITKVERSIONMAJORMINORPATCH{@ITK_VERSION_MAJOR@.@ITK_VERSION_MINOR@.@ITK_VERSION_PATCH@}
67

78
\newif\ifitkPrintedVersion
89
@SoftwareGuide_PRINTED_VERSION_LATEX_BOOLEAN@

0 commit comments

Comments
 (0)