From e860673f10fd166bb28c78f0535b0eac635f4aa9 Mon Sep 17 00:00:00 2001 From: Bharath Acharya Date: Tue, 12 Aug 2008 04:19:31 +0000 Subject: Have a check for OS_WIN32 and handle the schema data differently. make 2008-08-12 Bharath Acharya * Makefile.am: Have a check for OS_WIN32 and handle the schema * data differently. make install error on win32. svn path=/trunk/; revision=35961 --- plugins/default-mailer/ChangeLog | 5 +++++ plugins/default-mailer/Makefile.am | 21 +++++++++++++++++---- 2 files changed, 22 insertions(+), 4 deletions(-) (limited to 'plugins/default-mailer') diff --git a/plugins/default-mailer/ChangeLog b/plugins/default-mailer/ChangeLog index 5c52a6f91f..8955f0981d 100644 --- a/plugins/default-mailer/ChangeLog +++ b/plugins/default-mailer/ChangeLog @@ -1,3 +1,8 @@ +2008-08-12 Bharath Acharya + + * Makefile.am: Have a check for OS_WIN32 and handle the schema data + differently. make install error on win32. + 2008-08-12 Bharath Acharya * Makefile.am: Use NO_UNDEFINED. Link with more libraries. To generate diff --git a/plugins/default-mailer/Makefile.am b/plugins/default-mailer/Makefile.am index 123dc3fcac..45f4e29c2b 100644 --- a/plugins/default-mailer/Makefile.am +++ b/plugins/default-mailer/Makefile.am @@ -23,12 +23,25 @@ schema_DATA = $(schema_in_files:.schemas.in=.schemas) @INTLTOOL_SCHEMAS_RULE@ +if OS_WIN32 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 \ + 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 +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 EXTRA_DIST = \ org-gnome-default-mailer.eplug.xml \ -- cgit v1.2.3