evolution-exchange r1673 - in trunk: . addressbook



Author: tml
Date: Mon Jun  2 19:36:31 2008
New Revision: 1673
URL: http://svn.gnome.org/viewvc/evolution-exchange?rev=1673&view=rev

Log:
2008-06-02  Tor Lillqvist  <tml novell com>

	* addressbook/Makefile.am (install-data-local): Work around
	annoying MSYS feature on Win32 when installing the schema: Echo
	the command to a temporary .bat file and run it with cmd.exe...



Modified:
   trunk/ChangeLog
   trunk/addressbook/Makefile.am

Modified: trunk/addressbook/Makefile.am
==============================================================================
--- trunk/addressbook/Makefile.am	(original)
+++ trunk/addressbook/Makefile.am	Mon Jun  2 19:36:31 2008
@@ -22,11 +22,22 @@
 @INTLTOOL_SCHEMAS_RULE@
 
 install-data-local:
+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 \
+	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 \
 	fi
+endif
 
 noinst_LTLIBRARIES = libexchangeaddressbook.la
 



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