diff options
Diffstat (limited to 'help/reference/shell')
-rw-r--r-- | help/reference/shell/Makefile.am | 3 | ||||
-rw-r--r-- | help/reference/shell/meson.build | 31 |
2 files changed, 33 insertions, 1 deletions
diff --git a/help/reference/shell/Makefile.am b/help/reference/shell/Makefile.am index d8d5ae36..990aa195 100644 --- a/help/reference/shell/Makefile.am +++ b/help/reference/shell/Makefile.am @@ -101,7 +101,6 @@ GTKDOC_CFLAGS = \ -DATRILDATADIR=\"$(pkgdatadir)\" \ -DMATEDATADIR=\"$(datadir)\" \ -DMATELOCALEDIR=\"$(datadir)/locale\" \ - -DMATEICONDIR=\""$(datadir)/pixmaps"\" \ -DATRIL_COMPILATION \ $(SHELL_CFLAGS) \ $(WARN_CFLAGS) \ @@ -138,6 +137,8 @@ EXTRA_DIST += \ # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt #DISTCLEANFILES += +DISTCLEANFILES = $(DOC_MODULE).actions + # Comment this out if you want your docs-status tested during 'make check' if ENABLE_GTK_DOC #TESTS_ENVIRONMENT = cd $(srcsrc) && diff --git a/help/reference/shell/meson.build b/help/reference/shell/meson.build new file mode 100644 index 00000000..9b2f6c43 --- /dev/null +++ b/help/reference/shell/meson.build @@ -0,0 +1,31 @@ +version_conf = configuration_data() +version_conf.set('VERSION', version) + +version_xml = configure_file( + input: 'version.xml.in', + output: 'version.xml', + configuration: version_conf, +) + +atril_doc_deps = declare_dependency( + include_directories: [include_root, libdoc_include, libview_include, include_directories('.')], + link_with: [libdocument, libview], + dependencies: atril_deps, +) + +gnome.gtkdoc( + meson.project_name(), + mode: 'xml', + main_xml: 'atril-docs.xml', + gobject_typesfile: files('atril.types'), + src_dir: [ + join_paths(meson.project_source_root(), 'libview'), + ], + ignore_headers: [libview_private_headers], + dependencies: atril_doc_deps, + mkdb_args: ['--xml-mode', '--output-format=xml', '--name-space=ev'], + cflags: '-DATRIL_COMPILATION', + fixxref_args: fixref_args, + install: true, + install_dir: meson.project_name(), +) |