@@ -454,16 +454,29 @@ if build_documentation_opt == 'if-maintainer-mode'
454
454
real_build_documentation = ' (@0@)' .format(build_documentation)
455
455
endif
456
456
457
- validate = get_option (' validation' ) and can_parse_and_validate
457
+ explain_man = ''
458
+ if build_manual_opt and not build_manual
459
+ explain_man = ' (requires that documentation is built)'
460
+ endif
461
+
462
+ validate = get_option (' validation' ) and can_parse_and_validate and build_manual
458
463
explain_val = ''
459
464
if get_option (' validation' ) and not validate
460
- explain_val = ' (requires xmllint with Relax NG and DocBook V5.0 support)'
465
+ if not build_manual
466
+ explain_val = ' (requires that the tutorial is built)'
467
+ else
468
+ explain_val = ' (requires xmllint with Relax NG and DocBook V5.0 support)'
469
+ endif
461
470
endif
462
471
463
- build_pdf = build_pdf_by_default and can_build_pdf
472
+ build_pdf = build_pdf_by_default and can_build_pdf and build_manual
464
473
explain_pdf = ''
465
474
if build_pdf_by_default and not build_pdf
466
- explain_pdf = ' (requires dblatex or (xsltproc and fop))'
475
+ if not build_manual
476
+ explain_pdf = ' (requires that the tutorial is built)'
477
+ else
478
+ explain_pdf = ' (requires dblatex or (xsltproc and fop))'
479
+ endif
467
480
endif
468
481
469
482
summary = [
@@ -476,6 +489,7 @@ summary = [
476
489
format(cpp_warnings, warning_level, werror),
477
490
' Build deprecated API: @0@' .format(build_deprecated_api),
478
491
' Build HTML documentation: @0@@1@' .format(build_documentation_opt, real_build_documentation),
492
+ ' Build tutorial: @0@@1@' .format(build_manual, explain_man),
479
493
' XML validation: @0@@1@' .format(validate, explain_val),
480
494
' Build PDF: @0@@1@' .format(build_pdf, explain_pdf),
481
495
' Build example programs: @0@' .format(build_examples),
0 commit comments