File: meson.build

package info (click to toggle)
opus 1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 92,268 kB
  • sloc: ansic: 873,279; sh: 4,541; asm: 723; makefile: 480; perl: 264; python: 77
file content (33 lines) | stat: -rw-r--r-- 907 bytes parent folder | download | duplicates (6)
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
26
27
28
29
30
31
32
33
have_dot = find_program('dot', required: false).found()

doxyfile_conf = configuration_data()
doxyfile_conf.set('VERSION', opus_version)
doxyfile_conf.set('HAVE_DOT', have_dot)
doxyfile_conf.set('top_srcdir', top_srcdir)
doxyfile_conf.set('top_builddir', top_builddir)

doxyfile = configure_file(input: 'Doxyfile.in',
  output: 'Doxyfile',
  configuration: doxyfile_conf,
  install: false)

docdir = join_paths(get_option('datadir'), get_option('docdir'))

doc_inputs = [
  'customdoxygen.css',
  'footer.html',
  'header.html',
  'opus_logo.svg',
  top_srcdir + '/include/opus.h',
  top_srcdir + '/include/opus_multistream.h',
  top_srcdir + '/include/opus_defines.h',
  top_srcdir + '/include/opus_types.h',
  top_srcdir + '/include/opus_custom.h',
]

custom_target('doc',
  input: [ doxyfile ] + doc_inputs,
  output: [ 'html' ],
  command: [ doxygen, doxyfile ],
  install_dir: docdir,
  install: true)