[evolution-exchange] Respect --disable-schemas-install



commit 5802a2e84bdef3bb246d36c8e785d25eb8cfe7fa
Author: Fridrich Strba <fridrich strba bluewin ch>
Date:   Mon Mar 15 18:20:29 2010 +0100

    Respect --disable-schemas-install

 addressbook/Makefile.am |   30 ++++++++++++++++++------------
 1 files changed, 18 insertions(+), 12 deletions(-)
---
diff --git a/addressbook/Makefile.am b/addressbook/Makefile.am
index 4bea81a..58b86b4 100644
--- a/addressbook/Makefile.am
+++ b/addressbook/Makefile.am
@@ -8,24 +8,30 @@ schema_DATA = $(schema_in_files:.schemas.in.in=-$(BASE_VERSION).schemas)
 
 @INTLTOOL_SCHEMAS_RULE@
 
-install-data-local:
+if GCONF_SCHEMAS_INSTALL
+
 if OS_WIN32
-	if test -z "$(DESTDIR)" ; then \
-		for p in $(schema_DATA) ; do \
-			(echo set GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE); \
-			 echo $(GCONFTOOL) --makefile-install-rule $$p) >_temp.bat; \
-			cmd /c _temp.bat; \
-			rm _temp.bat; \
-		done \
+install-data-local:
+	if test -z "$(DESTDIR)" ; then							\
+		for p in $(schema_DATA) ; do						\
+			(echo set GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE);	\
+			 echo $(GCONFTOOL) --makefile-install-rule $$p) >_temp.bat;	\
+			cmd /c _temp.bat; 						\
+			rm _temp.bat;							\
+		done									\
 	fi
 else
-	if test -z "$(DESTDIR)" ; then \
-		for p in $(schema_DATA) ; do \
-			GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p; \
-		done \
+install-data-local:
+	if test -z "$(DESTDIR)" ; then							\
+		for p in $(schema_DATA) ; do						\
+			GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) 		\
+				$(GCONFTOOL) --makefile-install-rule $$p;		\
+		done									\
 	fi
 endif
 
+endif
+
 extension_LTLIBRARIES = libebookbackendexchange.la
 
 libebookbackendexchange_la_CPPFLAGS = \



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