aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/gnome.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/gnome.py b/modules/gnome.py
index a744ab2..9e2b476 100644
--- a/modules/gnome.py
+++ b/modules/gnome.py
@@ -233,6 +233,17 @@ class GnomeModule:
'--headerdir=' + header_dir,
'--mainfile=' + main_file,
'--modulename=' + modulename]
+ try:
+ html_args = kwargs['html_args']
+ if not isinstance(html_args, list):
+ html_args = [html_args]
+ for i in html_args:
+ if not isinstance(i, str):
+ raise MesonException('html_args values must be strings.')
+ except KeyError:
+ html_args = []
+ if len(html_args) > 0:
+ args.append('--htmlargs=' + '@@'.join(html_args))
res = [build.RunTarget(targetname, command, args, state.subdir)]
if kwargs.get('install', True):
res.append(build.InstallScript([command] + args))