diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2019-11-21 20:37:17 +0100 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2019-11-25 18:59:46 +0100 |
commit | 099fa9f005d22aa6d9c7ee79b9a11a088499994c (patch) | |
tree | 528c7f1f9e959b1c3414dbfe2fd49920724daba0 /doc | |
parent | dd7d1baeceba8b2c8964b367797103f24a19adc6 (diff) |
meson: Use preferred syntax everywhere
Meson files are normally using 4-spaces to indent and functions use first
parameter on the same line while others at next indentation level, not
following the parenthesis indentation.
So adapt libfprint to follow the meson standard.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/meson.build | 48 | ||||
-rw-r--r-- | doc/xml/meson.build | 4 |
2 files changed, 27 insertions, 25 deletions
diff --git a/doc/meson.build b/doc/meson.build index 5418667..407413a 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -1,14 +1,14 @@ subdir('xml') private_headers = [ - 'config.h', - 'nbis-helpers.h', - 'fprint.h', - 'fp_internal.h', + 'config.h', + 'nbis-helpers.h', + 'fprint.h', + 'fp_internal.h', - # Subdirectories to ignore - 'drivers', - 'nbis', + # Subdirectories to ignore + 'drivers', + 'nbis', ] html_images = [ @@ -25,20 +25,20 @@ glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html') docpath = join_paths(get_option('datadir'), 'gtk-doc', 'html') gnome.gtkdoc('libfprint', - main_xml: 'libfprint-docs.xml', - src_dir: join_paths(meson.source_root(), 'libfprint'), - dependencies: libfprint_dep, - content_files: content_files, - expand_content_files: expand_content_files, - scan_args: [ - #'--rebuild-sections', - '--ignore-decorators=API_EXPORTED', - '--ignore-headers=' + ' '.join(private_headers), - ], - fixxref_args: [ - '--html-dir=@0@'.format(docpath), - '--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')), - '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')), - ], - html_assets: html_images, - install: true) + main_xml: 'libfprint-docs.xml', + src_dir: join_paths(meson.source_root(), 'libfprint'), + dependencies: libfprint_dep, + content_files: content_files, + expand_content_files: expand_content_files, + scan_args: [ + #'--rebuild-sections', + '--ignore-decorators=API_EXPORTED', + '--ignore-headers=' + ' '.join(private_headers), + ], + fixxref_args: [ + '--html-dir=@0@'.format(docpath), + '--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')), + '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')), + ], + html_assets: html_images, + install: true) diff --git a/doc/xml/meson.build b/doc/xml/meson.build index e35f7ee..2ca1100 100644 --- a/doc/xml/meson.build +++ b/doc/xml/meson.build @@ -7,4 +7,6 @@ ent_conf.set('PACKAGE_TARNAME', 'libfprint-' + meson.project_version()) ent_conf.set('PACKAGE_URL', 'https://fprint.freedesktop.org/') ent_conf.set('PACKAGE_VERSION', meson.project_version()) ent_conf.set('PACKAGE_API_VERSION', '1.0') -configure_file(input: 'gtkdocentities.ent.in', output: 'gtkdocentities.ent', configuration: ent_conf) +configure_file(input: 'gtkdocentities.ent.in', + output: 'gtkdocentities.ent', + configuration: ent_conf) |