File: meson.build

package info (click to toggle)
libvdpau 1.5-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 712 kB
  • sloc: cpp: 4,870; ansic: 1,806; sh: 26; makefile: 23
file content (21 lines) | stat: -rw-r--r-- 612 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
doc_option = get_option('documentation')
doc_required = doc_option == 'true'
docdir = join_paths(get_option('datadir'), 'doc', 'libvdpau')

doxygen = find_program('doxygen', required : doc_required)
dot = find_program('dot', required : doc_required)

if doc_option != 'false' and doxygen.found() and dot.found()
    doxyfile = configure_file(
        input : 'Doxyfile.in',
        output : 'Doxyfile',
        configuration : cdata
    )

    html = custom_target('libvdpau-docs',
        command : [doxygen, doxyfile],
        output : 'html',
        install : true,
        install_dir : docdir,
    )
endif