summaryrefslogtreecommitdiff
path: root/doc/src/sgml/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/sgml/meson.build')
-rw-r--r--doc/src/sgml/meson.build7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/src/sgml/meson.build b/doc/src/sgml/meson.build
index 539865da8d9..c6d77b5a150 100644
--- a/doc/src/sgml/meson.build
+++ b/doc/src/sgml/meson.build
@@ -103,9 +103,10 @@ if xsltproc_bin.found()
'--tool', xsltproc_bin, '--',
]
- xsltproc_html_flags = xsltproc_flags + [
- '--param', 'website.stylesheet', '1'
- ]
+ xsltproc_html_flags = xsltproc_flags
+ if get_option('docs_html_style') == 'website'
+ xsltproc_html_flags += ['--param', 'website.stylesheet', '1']
+ endif
endif