mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
And remove the autotools. Faster, cleaner. https://bugs.freedesktop.org/show_bug.cgi?id=106514
18 lines
622 B
Meson
18 lines
622 B
Meson
cdata = configuration_data()
|
|
cdata.set('SRCDIR', join_paths(meson.source_root(), 'libfprint'))
|
|
cdata.set('BUILDDIR', join_paths(meson.build_root(), 'doc'))
|
|
|
|
cfg = configure_file(input: 'doxygen.cfg.in',
|
|
output: 'doxygen.cfg',
|
|
configuration: cdata,
|
|
install: false)
|
|
|
|
doxygen = find_program('doxygen')
|
|
datadir = join_paths(get_option('datadir'), 'doc', 'libfprint-devel')
|
|
custom_target('docs',
|
|
input: cfg,
|
|
output: 'html',
|
|
command: [ doxygen, '@INPUT@' ],
|
|
install: true,
|
|
install_dir: datadir)
|