[gnome-system-tools] Update GSettings schemas' autotools support



commit 8fa96297cfa80ba1ac4bfd01cf20aa547e2b6c07
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Mon May 24 20:23:50 2010 +0200

    Update GSettings schemas' autotools support
    
    Previous configuration was failing at 'make distcheck', and new one is simpler.

 Makefile.am |   18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 109f2f5..c1a152e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,25 +7,17 @@ distuninstallcheck_listfiles = find . -type f -print | grep -v scrollkeeper
 EXTRA_DIST = \
 	HACKING 		\
 	BUGS			\
-	$(schema_in_files)      \
 	intltool-extract.in	\
 	intltool-merge.in 	\
 	intltool-update.in 	\
 	omf.make		\
 	xmldocs.make		\
 	gnome-doc-utils.make	\
-	gnome-system-tools.pc.in
-
-
-# gsettingsschemadir and gschema_compile are defined by the GLIB_GSETTINGS
-# macro in configure.in
-gsettingsschema_DATA = org.gnome.system-tools.gschema.xml
-# This rule will check your schemas for validity before installation
- GSETTINGS_CHECK_RULE@
-if GSETTINGS_SCHEMAS_INSTALL
-install-data-hook:
-	$(gschema_compile) $(DESTDIR)$(gsettingsschemadir)
-endif
+	gnome-system-tools.pc.in \
+	$(gsettings_SCHEMAS)
+
+gsettings_SCHEMAS = org.gnome.system-tools.gschema.xml
+ GSETTINGS_RULES@
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = gnome-system-tools.pc



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