File: meson.build

package info (click to toggle)
paprefs 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 600 kB
  • sloc: cpp: 572; makefile: 18; sh: 1
file content (25 lines) | stat: -rw-r--r-- 596 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
doc_conf = configuration_data()
doc_conf.set('PACKAGE_VERSION', meson.project_version())
doc_conf.set('PACKAGE_BUGREPORT', mailing_list)
doc_conf.set('PACKAGE_URL', homepage)

readme_html = configure_file(
  input: 'README.html.in',
  output: 'README.html',
  configuration: doc_conf,
)

if tidy.found()
  test('XHTML documentation uses correct mark-up', tidy, args: ['-e', readme_html])
endif

if with_lynx
  custom_target(
    'README',
    input: readme_html,
    output: 'README',
    command: [find_program('./html2txt'), '@INPUT@'],
    capture: true,
    build_by_default: true,
  )
endif