+# Markdownlint
+option = get_option('archive')
+if option.disabled()
+ mdl_exe = find_program('mdl', required : false)
+
+ if mdl_exe.found()
+ mdl_sources += files('CHECKLIST.md',
+ 'CODING.md',
+ 'DEVELOPER-NOTES.md',
+ 'README.md',
+ join_paths(meson.project_source_root(), '.github', 'ISSUE_TEMPLATE.md'))
+
+ style = join_paths(meson.project_source_root(), '.mdl.rb')
+ foreach md_file : mdl_sources
+ md_path = '@0@'.format(md_file)
+ test('Mdl_check_ ' + md_path, mdl_exe, args: ['--style', style, md_file], timeout: 100)
+ endforeach
+ summary({'markdownlint' : ['Test runs:', true]}, section : 'Testing', bool_yn : true)
+ else
+ summary({'markdownlint' : ['Test runs:', false]}, section : 'Testing', bool_yn : true)
+ endif
+else
+ summary({'markdownlint' : ['Test runs:', false]}, section : 'Testing', bool_yn : true)
+endif
+