@@ -8,27 +8,27 @@ find_package(LATEX)
8
8
#
9
9
if (NOT PDFLATEX_COMPILER )
10
10
message ("PDFLatex compiler was not found. Please pass to advanced mode and provide its full path" )
11
- endif (NOT PDFLATEX_COMPILER )
11
+ endif ()
12
12
13
13
if (NOT LATEX_COMPILER )
14
14
message ("Latex compiler was not found. Please pass to advanced mode and provide its full path" )
15
- endif (NOT LATEX_COMPILER )
15
+ endif ()
16
16
17
17
if (NOT BIBTEX_COMPILER )
18
18
message ("BibTeX executable was not found. Please pass to advanced mode and provide its full path" )
19
- endif (NOT BIBTEX_COMPILER )
19
+ endif ()
20
20
21
21
if (NOT DVIPS_CONVERTER )
22
22
message ("dvips executable was not found. Please pass to advanced mode and provide its full path" )
23
- endif (NOT DVIPS_CONVERTER )
23
+ endif ()
24
24
25
25
if (NOT PS2PDF_CONVERTER )
26
26
message ("ps2pdf executable was not found. Please pass to advanced mode and provide its full path" )
27
- endif (NOT PS2PDF_CONVERTER )
27
+ endif ()
28
28
29
29
if (NOT MAKEINDEX_COMPILER )
30
30
message ("makeindex executable was not found. Please pass to advanced mode and provide its full path" )
31
- endif (NOT MAKEINDEX_COMPILER )
31
+ endif ()
32
32
33
33
#
34
34
# Build HTML version
@@ -146,7 +146,7 @@ if(LATEX_COMPILER)
146
146
${SoftwareGuide_BINARY_DIR} /DvipsWrapper.bat )
147
147
set (DVIPS_WRAPPER1 ${SoftwareGuide_BINARY_DIR} /DvipsWrapper.bat )
148
148
set (DVIPS_WRAPPER2 "" )
149
- else (NOT UNIX )
149
+ else ()
150
150
set (ITK_TEXINPUTS ${SoftwareGuide_SOURCE_DIR} /../Latex:${SoftwareGuide_SOURCE_DIR}:${SoftwareGuide_SOURCE_DIR}/Latex:${SoftwareGuide_SOURCE_DIR}/Art:${SoftwareGuide_BINARY_DIR}:${SoftwareGuide_BINARY_DIR}/Examples:${SoftwareGuide_BINARY_DIR}/Art:${SoftwareGuide_BINARY_DIR}/Latex )
151
151
152
152
configure_file (${SoftwareGuide_SOURCE_DIR} /LaTeXWrapper.sh.in
@@ -158,7 +158,7 @@ if(LATEX_COMPILER)
158
158
${SoftwareGuide_BINARY_DIR} /DvipsWrapper.sh )
159
159
set (DVIPS_WRAPPER1 /bin/sh )
160
160
set (DVIPS_WRAPPER2 ${SoftwareGuide_BINARY_DIR} /DvipsWrapper.sh )
161
- endif (NOT UNIX )
161
+ endif ()
162
162
163
163
add_custom_command ( OUTPUT ITKSoftwareGuide-Book1.dvi ITKSoftwareGuide-Book1.aux
164
164
COMMAND ${LATEX_WRAPPER1} ${LATEX_WRAPPER2} ${SoftwareGuide_SOURCE_DIR} /Latex/ITKSoftwareGuide-Book1.tex
@@ -266,7 +266,7 @@ if(LATEX_COMPILER)
266
266
)
267
267
endif ()
268
268
269
- endif (LATEX_COMPILER )
269
+ endif ()
270
270
271
271
add_custom_target (SoftwareGuideBook1PDF ALL
272
272
COMMAND ${CMAKE_COMMAND} -E echo "Building Software Guide Book1 PDF"
0 commit comments