summaryrefslogtreecommitdiff
path: root/gsettings
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-05-15 16:12:06 +0200
committerRyan Lortie <desrt@desrt.ca>2010-05-15 16:19:59 +0200
commit452a6e17b3bd0574a18c3e61f9e02d59ffcffbe1 (patch)
treef49c1cccf811e76ada7acb2b7392973661f55ae9 /gsettings
parent41c22f4575973846aef67ad0eb84c38d324894b8 (diff)
downloaddconf-452a6e17b3bd0574a18c3e61f9e02d59ffcffbe1.tar.gz
Some changes suggested/requested by Richard Hughes
- make packaging easier by not installing the GSettings backend into the gio modules directory; instead, allow the path to be manually specified, defaulting to relative to the libdir (or prefix). - for the GSettings backend, install an unversioned .so file and prevent the installation of the useless .la file
Diffstat (limited to 'gsettings')
-rw-r--r--gsettings/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/gsettings/Makefile.am b/gsettings/Makefile.am
index 41b7cc2..db97d91 100644
--- a/gsettings/Makefile.am
+++ b/gsettings/Makefile.am
@@ -3,9 +3,12 @@ AM_CFLAGS = $(gio_CFLAGS) -I$(top_srcdir)/gvdb
giomodules_LTLIBRARIES = libdconfsettings.la
libdconfsettings_la_LIBADD = $(gio_LIBS)
+libdconfsettings_la_LDFLAGS = -module -avoid-version -shared
libdconfsettings_la_SOURCES = \
../gvdb/gvdb-reader.c \
dconfdatabase.h \
dconfdatabase.c \
dconfsettingsbackend.c
+install-data-hook:
+ rm -f $(giomodulesdir)/libdconfsettings.la