[rygel] Proper use of 'top_srcdir' and 'abs_top_builddir'
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel] Proper use of 'top_srcdir' and 'abs_top_builddir'
- Date: Wed, 27 May 2009 07:43:19 -0400 (EDT)
commit 38527ecfefc3102313def56c11d4b8ae323e9cd1
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue May 26 21:21:28 2009 +0300
Proper use of 'top_srcdir' and 'abs_top_builddir'
Use $(top_srcdir)/src/rygel as header and vapi search dir and
$(abs_top_builddir)/src/rygel as library path. Why? I have no idea, just
that this makes `make distcheck` succeed.
---
src/ui/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ui/Makefile.am b/src/ui/Makefile.am
index e83f544..f9fa45a 100644
--- a/src/ui/Makefile.am
+++ b/src/ui/Makefile.am
@@ -4,7 +4,7 @@ else
shareddir = $(datadir)/rygel
endif
-rygeldir = $(abs_top_builddir)/src/rygel
+rygeldir = $(top_srcdir)/src/rygel
AM_CFLAGS = $(LIBGUPNP_CFLAGS) \
$(LIBGUPNP_AV_CFLAGS) \
@@ -52,7 +52,7 @@ rygel_preferences_LDADD = $(LIBGUPNP_LIBS) \
$(UUID_LIBS) \
$(LIBSOUP_LIBS) \
$(GTK_LIBS) \
- -L$(rygeldir) \
+ -L$(abs_top_builddir)/src/rygel \
-lrygel-configuration
CLEANFILES = $(BUILT_SOURCES) rygel.stamp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]