[gtk/docs-gtk-org] Add missing inclusion paths



commit 3f068386fcadc852a48e1ebd9f7b6c946558de60
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sat Jul 31 17:58:17 2021 +0100

    Add missing inclusion paths
    
    Our CI environment does not have GTK3 introspection data.

 glib/gio/meson.build     | 2 ++
 glib/gobject/meson.build | 1 +
 gtk3/gdk/meson.build     | 2 ++
 gtk3/gtk/meson.build     | 1 +
 4 files changed, 6 insertions(+)
---
diff --git a/glib/gio/meson.build b/glib/gio/meson.build
index 2b0d3f7bbd..ed22633f80 100644
--- a/glib/gio/meson.build
+++ b/glib/gio/meson.build
@@ -15,6 +15,8 @@ custom_target('gio-doc',
     '--output-dir=@OUTPUT@',
     '--no-namespace-dir',
     '--content-dir=@0@'.format(meson.current_source_dir()),
+    '--add-include-path=@0@'.format(meson.current_source_dir() / '../glib'),
+    '--add-include-path=@0@'.format(meson.current_source_dir() / '../gobject'),
     '@INPUT1@',
   ],
   build_by_default: true,
diff --git a/glib/gobject/meson.build b/glib/gobject/meson.build
index 1622e52255..23d050c26e 100644
--- a/glib/gobject/meson.build
+++ b/glib/gobject/meson.build
@@ -15,6 +15,7 @@ custom_target('gobject-doc',
     '--output-dir=@OUTPUT@',
     '--no-namespace-dir',
     '--content-dir=@0@'.format(meson.current_source_dir()),
+    '--add-include-path=@0@'.format(meson.current_source_dir() / '../glib'),
     '@INPUT1@',
   ],
   build_by_default: true,
diff --git a/gtk3/gdk/meson.build b/gtk3/gdk/meson.build
index 3a4b88ea6c..f899086410 100644
--- a/gtk3/gdk/meson.build
+++ b/gtk3/gdk/meson.build
@@ -15,6 +15,7 @@ custom_target('gdk3-doc',
     '--output-dir=@OUTPUT@',
     '--no-namespace-dir',
     '--content-dir=@0@'.format(meson.current_source_dir()),
+    '--add-include-path=@0@'.format(meson.current_source_dir()),
     '@INPUT1@',
   ],
   build_by_default: true,
@@ -35,6 +36,7 @@ custom_target('gdk3-x11-doc',
     '--output-dir=@OUTPUT@',
     '--no-namespace-dir',
     '--content-dir=@0@'.format(meson.current_source_dir()),
+    '--add-include-path=@0@'.format(meson.current_source_dir()),
     '@INPUT1@',
   ],
   build_by_default: true,
diff --git a/gtk3/gtk/meson.build b/gtk3/gtk/meson.build
index 7141f6f802..7cd932f8bb 100644
--- a/gtk3/gtk/meson.build
+++ b/gtk3/gtk/meson.build
@@ -15,6 +15,7 @@ custom_target('gtk3-doc',
     '--output-dir=@OUTPUT@',
     '--no-namespace-dir',
     '--content-dir=@0@'.format(meson.current_source_dir()),
+    '--add-include-path=@0@'.format(meson.current_source_dir() / '../gdk'),
     '@INPUT1@',
   ],
   build_by_default: true,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]