diff -r 86609e84855b -r 2d4d3a8fd23c doc/reference/finch/meson.build --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/reference/finch/meson.build Mon Jun 19 22:50:05 2017 -0400 @@ -0,0 +1,32 @@ +DOC_MODULE = 'finch' + +# Header files or dirs to ignore when scanning. Use base file/dir names +ignore_hfiles = [ + 'plugins', + 'test', + 'wms', + 'getopt.h', + 'gntinternal.h', + 'gnt-skel.h' +] + +# Extra options to supply to gtkdoc-scan. +scan_args = [ + '--deprecated-guards=PURPLE_DISABLE_DEPRECATED|GNT_DISABLE_DEPRECATED|FINCH_DISABLE_DEPRECATED', + '--rebuild-types', + '--rebuild-sections', + '--ignore-headers=' + ' '.join(ignore_hfiles), +] + +configure_file( + input : 'version.xml.in', + output : 'version.xml', + configuration : version_conf) + +gnome.gtkdoc(DOC_MODULE, + main_xml : DOC_MODULE + '-docs.xml', + src_dir : libfinch_inc, + dependencies : libfinch_dep, + install : true, + scan_args : scan_args, + gobject_typesfile : DOC_MODULE + '.types')