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