@@ -333,16 +333,29 @@ if build_documentation_opt == 'if-maintainer-mode'
333
333
real_build_documentation = ' (@0@)' .format(build_documentation)
334
334
endif
335
335
336
- validate = get_option (' validation' ) and can_parse_and_validate
336
+ explain_man = ''
337
+ if build_manual_opt and not build_manual
338
+ explain_man = ' (requires that documentation is built)'
339
+ endif
340
+
341
+ validate = get_option (' validation' ) and can_parse_and_validate and build_manual
337
342
explain_val = ''
338
343
if get_option (' validation' ) and not validate
339
- explain_val = ' (requires xmllint with Relax NG and DocBook V5.0 support)'
344
+ if not build_manual
345
+ explain_val = ' (requires that the tutorial is built)'
346
+ else
347
+ explain_val = ' (requires xmllint with Relax NG and DocBook V5.0 support)'
348
+ endif
340
349
endif
341
350
342
- build_pdf = build_pdf_by_default and can_build_pdf
351
+ build_pdf = build_pdf_by_default and can_build_pdf and build_manual
343
352
explain_pdf = ''
344
353
if build_pdf_by_default and not build_pdf
345
- explain_pdf = ' (requires dblatex or (xsltproc and fop))'
354
+ if not build_manual
355
+ explain_pdf = ' (requires that the tutorial is built)'
356
+ else
357
+ explain_pdf = ' (requires dblatex or (xsltproc and fop))'
358
+ endif
346
359
endif
347
360
348
361
summary = [
@@ -355,6 +368,7 @@ summary = [
355
368
format(cpp_warnings, warning_level, werror),
356
369
' Build deprecated API: @0@' .format(build_deprecated_api),
357
370
' Build HTML documentation: @0@@1@' .format(build_documentation_opt, real_build_documentation),
371
+ ' Build tutorial: @0@@1@' .format(build_manual, explain_man),
358
372
' XML validation: @0@@1@' .format(validate, explain_val),
359
373
' Build PDF: @0@@1@' .format(build_pdf, explain_pdf),
360
374
' Build example programs: @0@' .format(build_examples),
0 commit comments