summaryrefslogtreecommitdiffstats
path: root/docs/reference/st/meson.build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/reference/st/meson.build23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/reference/st/meson.build b/docs/reference/st/meson.build
new file mode 100644
index 0000000..3e9e9ab
--- /dev/null
+++ b/docs/reference/st/meson.build
@@ -0,0 +1,23 @@
+private_headers = [
+ 'st-private.h',
+ 'st-theme-node-private.h'
+]
+
+configure_file(
+ input: 'version.xml.in',
+ output: 'version.xml',
+ configuration: version_conf
+)
+
+gnome.gtkdoc('st',
+ main_sgml: 'st-docs.sgml',
+ src_dir: [
+ join_paths(meson.source_root(), 'src', 'st'),
+ join_paths(meson.build_root(), 'src', 'st')
+ ],
+ scan_args: [
+ '--ignore-headers=' + ' '.join(private_headers),
+ '--rebuild-sections'
+ ],
+ install: true
+)