aboutsummaryrefslogtreecommitdiff
path: root/doc/guide-html-meson.build
diff options
context:
space:
mode:
authorSam Hartman <hartmans@debian.org>2024-12-02 09:55:34 -0700
committerSam Hartman <hartmans@debian.org>2024-12-02 09:55:34 -0700
commit4f3cfaf827bfa42a239c255092a128a3a02198bf (patch)
treeeac7f023f043739b79b2a51bd68c3006acb12964 /doc/guide-html-meson.build
parent6408d4b1baff9a7e58fd66e1d1c0871be0823777 (diff)
parent7c9fb6472dcfae34ddbf4fbc9ecfafae2cf173c3 (diff)
downloadpam-4f3cfaf827bfa42a239c255092a128a3a02198bf.tar.gz
pam-4f3cfaf827bfa42a239c255092a128a3a02198bf.tar.bz2
pam-4f3cfaf827bfa42a239c255092a128a3a02198bf.zip
Update upstream source from tag 'upstream/1.7.0'
Update to upstream version '1.7.0' with Debian dir 0b3cd490884352e14273caeca2f05c6a525499fa
Diffstat (limited to 'doc/guide-html-meson.build')
-rw-r--r--doc/guide-html-meson.build32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/guide-html-meson.build b/doc/guide-html-meson.build
new file mode 100644
index 00000000..e5c90812
--- /dev/null
+++ b/doc/guide-html-meson.build
@@ -0,0 +1,32 @@
+# -*- mode: meson -*-
+
+html = custom_target(
+ input: xml,
+ output: name + '.html',
+ command: [
+ prog_xsltproc,
+ '--nonet',
+ '--xinclude',
+ '--stringparam', 'base.dir', meson.current_build_dir(),
+ '--stringparam', 'root.filename', name,
+ '--stringparam', 'use.id.as.filename', '1',
+ '--stringparam', 'chunk.first.sections', '1',
+ '--stringparam', 'section.autolabel', '1',
+ '--stringparam', 'section.label.includes.component.label', '1',
+ '--stringparam', 'toc.max.depth', toc_max_depth,
+ '--stringparam', 'chunker.output.encoding', 'UTF-8',
+ html_stylesheet,
+ '@INPUT@',
+ ],
+ install: true,
+ install_dir: htmldir,
+ install_tag: 'doc',
+)
+
+meson.add_install_script(
+ install_html,
+ meson.current_build_dir(),
+ htmldir,
+ html,
+ install_tag: 'doc',
+)