From: Inaky Perez-Gonzalez <[email protected]>

When running 'make distcheck' from a vpath build directory (ie: one
that is not where the source lives), the target headers in
include/ofono are not generated properly due to a typo in the
Makefile.am, that is using _srcdir where _buildir should be being
used.
---
 Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index e256841..313c555 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -444,7 +444,7 @@ include/ofono/version.h: include/version.h
 
 include/ofono/%.h: include/%.h
        $(AM_V_at)$(MKDIR_P) include/ofono
-       $(AM_V_GEN)$(LN_S) $(abs_top_srcdir)/$< $@
+       $(AM_V_GEN)$(LN_S) $(abs_top_builddir)/$< $@
 
 clean-local:
        @$(RM) -rf include/ofono
-- 
1.6.6.1

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to