gnome.gtkdoc: Fix generated files used as content files

The `gtkdoc` function in the `gnome` module is able to use generated
files as content files, but the path to these is wrong in the used
command line.
pull/3361/head
Iñigo Martínez 7 years ago committed by Jussi Pakkanen
parent 98267e104e
commit c1fcc8ab3e
  1. 2
      mesonbuild/modules/gnome.py

@ -792,7 +792,7 @@ This will become a hard error in the future.''')
state.backend.get_target_dir(s),
s.get_outputs()[0]))
elif isinstance(s, mesonlib.File):
content_files.append(s.rel_to_builddir(state.build_to_src))
content_files.append(os.path.join(state.environment.get_build_dir(), s.subdir, s.fname))
elif isinstance(s, build.GeneratedList):
depends.append(s)
for gen_src in s.get_outputs():

Loading…
Cancel
Save