summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/library/Makefile.am1
-rw-r--r--examples/library/meson.build1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/library/Makefile.am b/examples/library/Makefile.am
index e0c77cd5..b8c026e6 100644
--- a/examples/library/Makefile.am
+++ b/examples/library/Makefile.am
@@ -29,6 +29,7 @@ GISample_1_0_gir_FILES = $(source_c) $(source_h)
GISample_1_0_gir_CFLAGS = -I$(top_srcdir) -I$(top_builddir) $(GISAMPLE_CFLAGS)
GISample_1_0_gir_INCLUDES = GObject-2.0
GISample_1_0_gir_SCANNERFLAGS = --warn-all --symbol-prefix=gi_sample
+GISample_1_0_gir_DOC_FORMAT = gtk-doc
girdir = $(datadir)/gir-1.0
dist_gir_DATA = GISample-1.0.gir
diff --git a/examples/library/meson.build b/examples/library/meson.build
index 2313ffd6..5ea26e78 100644
--- a/examples/library/meson.build
+++ b/examples/library/meson.build
@@ -21,4 +21,5 @@ gnome.generate_gir(
identifier_prefix : 'GISample',
includes : ['GObject-2.0'],
install : true,
+ extra_args : ['--doc-format=gtk-doc'],
)