[dconf] Installing symlinks doesn't work -- use a hook



commit 302fc14928ac53b31bfe43d78953d383de120485
Author: Ryan Lortie <desrt desrt ca>
Date:   Sat Jul 24 11:00:00 2010 -0400

    Installing symlinks doesn't work -- use a hook

 client/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/client/Makefile.am b/client/Makefile.am
index ab975ba..7c925dd 100644
--- a/client/Makefile.am
+++ b/client/Makefile.am
@@ -20,11 +20,14 @@ INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/gvdb -I$(top_srcdir)/engine $(
 
 shlibdir=$(libdir)
 shlib_PROGRAMS = libdconf.so.0
-shlib_DATA = libdconf.so
+noinst_DATA = libdconf.so
 
 libdconf.so: libdconf.so.0
 	ln -fs libdconf.so.0 libdconf.so
 
+install-data-hook:
+	ln -fs libdconf.so.0 $(shlibdir)/libdconf.so
+
 dconfinclude_HEADERS = \
 	dconf-client.h	\
 	dconf.h



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]