diff options
author | Fridrich Strba <fridrich.strba@bluewin.ch> | 2010-03-16 00:10:46 +0800 |
---|---|---|
committer | Fridrich Strba <fridrich.strba@bluewin.ch> | 2010-03-16 00:10:46 +0800 |
commit | 2971ce413ce9f91ac768d53487c47056b2f5710f (patch) | |
tree | 129fbbd66ecb14d883852dacaa753a7e5c0aaa5e /plugins | |
parent | 58d0d111af5580051b4d9a5cbaef4d7b96fdcfa8 (diff) | |
download | gsoc2013-evolution-2971ce413ce9f91ac768d53487c47056b2f5710f.tar gsoc2013-evolution-2971ce413ce9f91ac768d53487c47056b2f5710f.tar.gz gsoc2013-evolution-2971ce413ce9f91ac768d53487c47056b2f5710f.tar.bz2 gsoc2013-evolution-2971ce413ce9f91ac768d53487c47056b2f5710f.tar.lz gsoc2013-evolution-2971ce413ce9f91ac768d53487c47056b2f5710f.tar.xz gsoc2013-evolution-2971ce413ce9f91ac768d53487c47056b2f5710f.tar.zst gsoc2013-evolution-2971ce413ce9f91ac768d53487c47056b2f5710f.zip |
Make the gconf schemas installation rules consistent in all Makefiles.am
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/bogo-junk-plugin/Makefile.am | 21 | ||||
-rw-r--r-- | plugins/external-editor/Makefile.am | 21 | ||||
-rw-r--r-- | plugins/face/Makefile.am | 22 |
3 files changed, 46 insertions, 18 deletions
diff --git a/plugins/bogo-junk-plugin/Makefile.am b/plugins/bogo-junk-plugin/Makefile.am index 935fc31135..075e528119 100644 --- a/plugins/bogo-junk-plugin/Makefile.am +++ b/plugins/bogo-junk-plugin/Makefile.am @@ -29,12 +29,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 \ - 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 endif 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 diff --git a/plugins/face/Makefile.am b/plugins/face/Makefile.am index 29c181cbee..240dc3a8d0 100644 --- a/plugins/face/Makefile.am +++ b/plugins/face/Makefile.am @@ -57,19 +57,21 @@ 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; \ - 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; \ + 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 |