diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/Makefile.am | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/calendar/gui/Makefile.am b/calendar/gui/Makefile.am index 71ba72acd6..167c1b082d 100644 --- a/calendar/gui/Makefile.am +++ b/calendar/gui/Makefile.am @@ -260,19 +260,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 |