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:
@@ -1,10 +0,0 @@
|
||||
EXTRA_DIST = doxygen.cfg
|
||||
|
||||
docs: doxygen.cfg
|
||||
doxygen $^
|
||||
|
||||
docs-upload: docs
|
||||
ln -s html api
|
||||
ncftpput -f ~/.ncftp/reactivated -m -R httpdocs/fprint api/
|
||||
rm -f api
|
||||
|
||||
@@ -477,7 +477,7 @@ WARN_LOGFILE =
|
||||
# directories like "/usr/src/myproject". Separate the files or directories
|
||||
# with spaces.
|
||||
|
||||
INPUT = ../libfprint
|
||||
INPUT = "@SRCDIR@"
|
||||
|
||||
# This tag can be used to specify the character encoding of the source files that
|
||||
# doxygen parses. Internally doxygen uses the UTF-8 encoding, which is also the default
|
||||
@@ -672,7 +672,7 @@ GENERATE_HTML = YES
|
||||
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
|
||||
# put in front of it. If left blank `html' will be used as the default path.
|
||||
|
||||
HTML_OUTPUT = html
|
||||
HTML_OUTPUT = "@BUILDDIR@/html"
|
||||
|
||||
# The HTML_FILE_EXTENSION tag can be used to specify the file extension for
|
||||
# each generated HTML page (for example: .htm,.php,.asp). If it is left blank
|
||||
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