gnome: Fix typo in gtkdoc_html_dir, so it returns the correct path

pull/2266/head
Matthias Klumpp 8 years ago committed by Jussi Pakkanen
parent d220683787
commit d49eeb243f
  1. 2
      mesonbuild/modules/gnome.py
  2. 2
      test cases/frameworks/10 gtk-doc/meson.build

@ -804,7 +804,7 @@ class GnomeModule(ExtensionModule):
modulename = args[0] modulename = args[0]
if not isinstance(modulename, str): if not isinstance(modulename, str):
raise MesonException('Argument must be a string') raise MesonException('Argument must be a string')
return ModuleReturnValue(os.path.join('share/gtkdoc/html', modulename), []) return ModuleReturnValue(os.path.join('share/gtk-doc/html', modulename), [])
@staticmethod @staticmethod
def _unpack_args(arg, kwarg_name, kwargs, expend_file_state=None): def _unpack_args(arg, kwarg_name, kwargs, expend_file_state=None):

@ -2,7 +2,7 @@ project('gtkdoctest', 'c', version : '1.0.0')
gnome = import('gnome') gnome = import('gnome')
assert(gnome.gtkdoc_html_dir('foobar') == 'share/gtkdoc/html/foobar', 'Gtkdoc install dir is incorrect.') assert(gnome.gtkdoc_html_dir('foobar') == 'share/gtk-doc/html/foobar', 'Gtkdoc install dir is incorrect.')
inc = include_directories('include') inc = include_directories('include')

Loading…
Cancel
Save