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