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