aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/gnome.py
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2016-12-08 13:49:31 -0500
committerJussi Pakkanen <jpakkane@gmail.com>2016-12-12 21:01:49 +0200
commitc42167dc6f49ac5c3045ec24e2ccbaa204abe079 (patch)
tree72d2e1e7c74d6ad39a5c37922f294827236b8034 /mesonbuild/modules/gnome.py
parent5787a4b4fba7a5ef3075b30d941239e17ef4fa4f (diff)
downloadmeson-c42167dc6f49ac5c3045ec24e2ccbaa204abe079.zip
meson-c42167dc6f49ac5c3045ec24e2ccbaa204abe079.tar.gz
meson-c42167dc6f49ac5c3045ec24e2ccbaa204abe079.tar.bz2
gnome.gtkdoc(): Include builddir variant of include dirs also
This avoids the need for users to constantly join paths themselves as this is commonly included.
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r--mesonbuild/modules/gnome.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index caf162f..1912fc1 100644
--- a/mesonbuild/modules/gnome.py
+++ b/mesonbuild/modules/gnome.py
@@ -677,7 +677,7 @@ can not be used with the current version of glib-compiled-resources, due to
header_dirs.append(os.path.join(state.environment.get_source_dir(),
src_dir.get_curdir(), inc_dir))
else:
- header_dirs.append(os.path.normpath(os.path.join(state.subdir, src_dir)))
+ header_dirs.append(src_dir)
args = ['--sourcedir=' + state.environment.get_source_dir(),
'--builddir=' + state.environment.get_build_dir(),