diff options
author | Patrick Griffis <tingping@tingping.se> | 2016-12-06 13:23:58 -0500 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2016-12-06 13:23:58 -0500 |
commit | d764c7dc91f5d679687fa2dc00ad29c2ee0ca875 (patch) | |
tree | 037a6bff9d1519a48deecbe4beac9b1444f2e315 /mesonbuild/modules/gnome.py | |
parent | a626d1a7bc0759a099e8d7832dd23fadb60fda67 (diff) | |
download | meson-d764c7dc91f5d679687fa2dc00ad29c2ee0ca875.zip meson-d764c7dc91f5d679687fa2dc00ad29c2ee0ca875.tar.gz meson-d764c7dc91f5d679687fa2dc00ad29c2ee0ca875.tar.bz2 |
gnome.gtkdoc(): Add namespace keyword
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r-- | mesonbuild/modules/gnome.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index 4658e6d..7f63753 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -656,6 +656,8 @@ can not be used with the current version of glib-compiled-resources, due to targetname = modulename + '-doc' command = [state.environment.get_build_command(), '--internal', 'gtkdoc'] + namespace = kwargs.get('namespace', '') + src_dirs = kwargs['src_dir'] if not isinstance(src_dirs, list): src_dirs = [src_dirs] @@ -677,6 +679,8 @@ can not be used with the current version of glib-compiled-resources, due to '--headerdirs=' + '@@'.join(header_dirs), '--mainfile=' + main_file, '--modulename=' + modulename] + if namespace: + args.append('--namespace=' + namespace) args += self._unpack_args('--htmlargs=', 'html_args', kwargs) args += self._unpack_args('--scanargs=', 'scan_args', kwargs) args += self._unpack_args('--scanobjsargs=', 'scanobjs_args', kwargs) |