summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-07-04 11:39:40 +0200
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2017-07-05 09:42:59 -0300
commit7b304e96a1f9e1d6bcba77f5d3b61f640e23e769 (patch)
tree3eb32064a9cca244093664cea57131873ceb928f /doc
parent398a85d7d59f96a4fc82ecbebcfce022b18c25f4 (diff)
downloadgnome-todo-7b304e96a1f9e1d6bcba77f5d3b61f640e23e769.tar.gz
project: Performance improvements for meson build port
- Fixed CFLAGS and avoid their duplication. - Fixed default flag application to the project on non debug builds. - Removed unneeded meson build file from reference. - Removed unneeded source directories from gtkdoc generation. https://bugzilla.gnome.org/show_bug.cgi?id=783589
Diffstat (limited to 'doc')
-rw-r--r--doc/meson.build1
-rw-r--r--doc/reference/meson.build5
2 files changed, 1 insertions, 5 deletions
diff --git a/doc/meson.build b/doc/meson.build
deleted file mode 100644
index ead14c40..00000000
--- a/doc/meson.build
+++ /dev/null
@@ -1 +0,0 @@
-subdir('reference')
diff --git a/doc/reference/meson.build b/doc/reference/meson.build
index dc4b13ea..bdc5bed5 100644
--- a/doc/reference/meson.build
+++ b/doc/reference/meson.build
@@ -55,10 +55,7 @@ doc_path = join_paths(gnome_todo_datadir, 'gtk-doc', 'html', meson.project_name(
gnome.gtkdoc(
meson.project_name(),
main_sgml: meson.project_name() + '-docs.sgml',
- src_dir: [
- join_paths(meson.source_root(), 'src'),
- join_paths(meson.build_root(), 'src')
- ],
+ src_dir: src_inc,
dependencies: libgtd_dep,
scan_args: [
'--rebuild-types',