[rygel/wip/meson: 36/44] meson: Install gtkdoc
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/meson: 36/44] meson: Install gtkdoc
- Date: Thu, 18 Oct 2018 19:33:58 +0000 (UTC)
commit 45dfe989cc3807782807521491b57f9d19da50b7
Author: Jens Georg <mail jensge org>
Date: Fri Oct 12 16:28:28 2018 +0200
meson: Install gtkdoc
doc/reference/librygel-core/meson.build | 6 ++++++
doc/reference/librygel-db/meson.build | 7 +++++++
doc/reference/librygel-renderer-gst/meson.build | 5 +++++
doc/reference/librygel-renderer/meson.build | 5 +++++
doc/reference/librygel-server/meson.build | 5 +++++
5 files changed, 28 insertions(+)
---
diff --git a/doc/reference/librygel-core/meson.build b/doc/reference/librygel-core/meson.build
index 24dc02f8..12f961a9 100644
--- a/doc/reference/librygel-core/meson.build
+++ b/doc/reference/librygel-core/meson.build
@@ -47,5 +47,11 @@ custom_target('gtkdoc-core',
core_sources
]
)
+
+if get_option('api-docs')
+ install_subdir('gtkdoc/html',
+ install_dir : join_paths(get_option('datadir'), 'gtk-doc/html/librygel-core'),
+ strip_directory : true)
+endif
endif
endif
diff --git a/doc/reference/librygel-db/meson.build b/doc/reference/librygel-db/meson.build
index 6cc091a6..c2b5d882 100644
--- a/doc/reference/librygel-db/meson.build
+++ b/doc/reference/librygel-db/meson.build
@@ -54,5 +54,12 @@ custom_target('gtkdoc-db',
db_sources
]
)
+
+if get_option('api-docs')
+ install_subdir('gtkdoc/html',
+ install_dir : join_paths(get_option('datadir'), 'gtk-doc/html/librygel-db'),
+ strip_directory : true)
+endif
+
endif
endif
diff --git a/doc/reference/librygel-renderer-gst/meson.build b/doc/reference/librygel-renderer-gst/meson.build
index 7d7d99ea..44c513ed 100644
--- a/doc/reference/librygel-renderer-gst/meson.build
+++ b/doc/reference/librygel-renderer-gst/meson.build
@@ -59,5 +59,10 @@ custom_target('gtkdoc-renderer-gst',
renderer_gst_sources
]
)
+if get_option('api-docs')
+ install_subdir('gtkdoc/html',
+ install_dir : join_paths(get_option('datadir'), 'gtk-doc/html/librygel-renderer-gst'),
+ strip_directory : true)
+endif
endif
endif
diff --git a/doc/reference/librygel-renderer/meson.build b/doc/reference/librygel-renderer/meson.build
index fab0fdb0..66c43d78 100644
--- a/doc/reference/librygel-renderer/meson.build
+++ b/doc/reference/librygel-renderer/meson.build
@@ -53,5 +53,10 @@ custom_target('gtkdoc-renderer',
renderer_sources
]
)
+if get_option('api-docs')
+ install_subdir('gtkdoc/html',
+ install_dir : join_paths(get_option('datadir'), 'gtk-doc/html/librygel-renderer'),
+ strip_directory : true)
+endif
endif
endif
diff --git a/doc/reference/librygel-server/meson.build b/doc/reference/librygel-server/meson.build
index ad2a4cd5..6803d41b 100644
--- a/doc/reference/librygel-server/meson.build
+++ b/doc/reference/librygel-server/meson.build
@@ -54,5 +54,10 @@ custom_target('gtkdoc-server',
server_sources
]
)
+if get_option('api-docs')
+ install_subdir('gtkdoc/html',
+ install_dir : join_paths(get_option('datadir'), 'gtk-doc/html/librygel-server'),
+ strip_directory : true)
+endif
endif
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]