From 2971ce413ce9f91ac768d53487c47056b2f5710f Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 15 Mar 2010 17:10:46 +0100 Subject: Make the gconf schemas installation rules consistent in all Makefiles.am --- plugins/external-editor/Makefile.am | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'plugins/external-editor') diff --git a/plugins/external-editor/Makefile.am b/plugins/external-editor/Makefile.am index c36ce82111..02591aaebc 100644 --- a/plugins/external-editor/Makefile.am +++ b/plugins/external-editor/Makefile.am @@ -56,12 +56,25 @@ schema_DATA = $(schema_in_files:.schemas.in=.schemas) if GCONF_SCHEMAS_INSTALL +if OS_WIN32 +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 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 \ + GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \ + $(GCONFTOOL) --makefile-install-rule $$p; \ + done \ fi +endif endif -- cgit v1.2.3