[babl] Fix make distcheck
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] Fix make distcheck
- Date: Wed, 29 Dec 2010 07:24:50 +0000 (UTC)
commit cfeaaf62b8d5babef2ab34798fff1e1f64905422
Author: Martin Nordholts <martinn src gnome org>
Date: Wed Dec 29 08:25:50 2010 +0100
Fix make distcheck
When we generate the gir-file we need to refer to the source files
relative to the srcdir to support out-of-source-tree builds.
babl/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/babl/Makefile.am b/babl/Makefile.am
index 1823265..6abf148 100644
--- a/babl/Makefile.am
+++ b/babl/Makefile.am
@@ -99,8 +99,8 @@ Babl-$(BABL_API_VERSION).gir: $(G_IR_SCANNER) $(library_include_HEADERS) $(c_sou
-DBABL_IS_BEING_COMPILED \
-I$(top_srcdir) \
-I$(top_builddir) \
- $(library_include_HEADERS) \
- $(c_sources)
+ $(addprefix $(srcdir)/, $(library_include_HEADERS)) \
+ $(addprefix $(srcdir)/, $(c_sources))
girdir = $(datadir)/gir-1.0
gir_DATA = Babl-$(BABL_API_VERSION).gir
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]