@@ -439,16 +439,29 @@ if build_documentation_opt == 'if-maintainer-mode'
439
439
real_build_documentation = ' (@0@)' .format(build_documentation)
440
440
endif
441
441
442
- validate = get_option (' validation' ) and can_parse_and_validate
442
+ explain_man = ''
443
+ if build_manual_opt and not build_manual
444
+ explain_man = ' (requires that documentation is built)'
445
+ endif
446
+
447
+ validate = get_option (' validation' ) and can_parse_and_validate and build_manual
443
448
explain_val = ''
444
449
if get_option (' validation' ) and not validate
445
- explain_val = ' (requires xmllint with Relax NG and DocBook V5.0 support)'
450
+ if not build_manual
451
+ explain_val = ' (requires that the tutorial is built)'
452
+ else
453
+ explain_val = ' (requires xmllint with Relax NG and DocBook V5.0 support)'
454
+ endif
446
455
endif
447
456
448
- build_pdf = build_pdf_by_default and can_build_pdf
457
+ build_pdf = build_pdf_by_default and can_build_pdf and build_manual
449
458
explain_pdf = ''
450
459
if build_pdf_by_default and not build_pdf
451
- explain_pdf = ' (requires dblatex or (xsltproc and fop))'
460
+ if not build_manual
461
+ explain_pdf = ' (requires that the tutorial is built)'
462
+ else
463
+ explain_pdf = ' (requires dblatex or (xsltproc and fop))'
464
+ endif
452
465
endif
453
466
454
467
summary = [
@@ -461,6 +474,7 @@ summary = [
461
474
format(cpp_warnings, warning_level, werror),
462
475
' Build deprecated API: @0@' .format(build_deprecated_api),
463
476
' Build HTML documentation: @0@@1@' .format(build_documentation_opt, real_build_documentation),
477
+ ' Build tutorial: @0@@1@' .format(build_manual, explain_man),
464
478
' XML validation: @0@@1@' .format(validate, explain_val),
465
479
' Build PDF: @0@@1@' .format(build_pdf, explain_pdf),
466
480
' Build example programs: @0@' .format(build_examples),
0 commit comments