mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
build: Port to meson
And remove the autotools. Faster, cleaner. https://bugs.freedesktop.org/show_bug.cgi?id=106514
This commit is contained in:
17
doc/meson.build
Normal file
17
doc/meson.build
Normal file
@@ -0,0 +1,17 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user