2009-07-14 20:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* config/dos/install.cf
  * config/win/install.cf
  * config/linux/install.cf
  * config/os2/install.cf
  * config/wce/install.cf
    * Using INSTALL_DIR_OS temp var instead of doing OS conversion inline.
This commit is contained in:
Viktor Szakats
2009-07-14 18:48:25 +00:00
parent 70ba5514ca
commit 7fecdbfec5
6 changed files with 18 additions and 5 deletions

View File

@@ -17,6 +17,14 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-07-14 20:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/install.cf
* config/win/install.cf
* config/linux/install.cf
* config/os2/install.cf
* config/wce/install.cf
* Using INSTALL_DIR_OS temp var instead of doing OS conversion inline.
2009-07-14 20:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/hpux/dir.cf
* config/darwin/dir.cf

View File

@@ -14,10 +14,11 @@ ifeq ($(SHLVL),) # non-bash
# NOTE: The empty line directly before 'endef' HAVE TO exist!
# It causes that every commands will be separated by LF
define inst_file
$(COMSPEC) /Cxcopy /Y /I $(file) $(subst /,\,$(INSTALL_DIR))
$(COMSPEC) /Cxcopy /Y /I $(file) $(INSTALL_DIR_OS)
endef
INSTALL_DIR_OS = $(subst /,\,$(INSTALL_DIR))
INSTALL_FILES_OS = $(subst /,\,$(INSTALL_FILES))
INSTALL_RULE = $(foreach file, $(INSTALL_FILES_OS), $(inst_file))

View File

@@ -12,10 +12,11 @@ ifeq ($(SHLVL),) # non-bash
ifeq ($(OS2_SHELL),) # non-OS/2
INSTALL_DIR_OS = $(subst /,\,$(INSTALL_DIR))
INSTALL_FILES_OS = $(subst /,\,$(INSTALL_FILES))
INSTALL_RULE = \
-$(COMSPEC) /c for %%f in ($(INSTALL_FILES_OS)) do copy "%%f" "$(subst /,\,$(INSTALL_DIR))"
-$(COMSPEC) /c for %%f in ($(INSTALL_FILES_OS)) do copy "%%f" "$(INSTALL_DIR_OS)"
else # OS/2

View File

@@ -12,10 +12,11 @@ ifeq ($(SHLVL),) # non-bash
ifeq ($(OS2_SHELL),) # non-OS/2
INSTALL_DIR_OS = $(subst /,\,$(INSTALL_DIR))
INSTALL_FILES_OS = $(subst /,\,$(INSTALL_FILES))
INSTALL_RULE = \
-$(COMSPEC) /c for %%f in ($(INSTALL_FILES_OS)) do copy "%%f" "$(subst /,\,$(INSTALL_DIR))"
-$(COMSPEC) /c for %%f in ($(INSTALL_FILES_OS)) do copy "%%f" "$(INSTALL_DIR_OS)"
else # OS/2

View File

@@ -10,10 +10,11 @@ else
ifeq ($(SHLVL),) # non-bash
INSTALL_DIR_OS = $(subst /,\,$(INSTALL_DIR))
INSTALL_FILES_OS = $(subst /,\,$(INSTALL_FILES))
INSTALL_RULE = \
-$(COMSPEC) /c for %%f in ($(INSTALL_FILES_OS)) do copy "%%f" "$(subst /,\,$(INSTALL_DIR))"
-$(COMSPEC) /c for %%f in ($(INSTALL_FILES_OS)) do copy "%%f" "$(INSTALL_DIR_OS)"
else # bash

View File

@@ -10,10 +10,11 @@ else
ifeq ($(SHLVL),) # non-bash
INSTALL_DIR_OS = $(subst /,\,$(INSTALL_DIR))
INSTALL_FILES_OS = $(subst /,\,$(INSTALL_FILES))
INSTALL_RULE = \
-$(COMSPEC) /c for %%f in ($(INSTALL_FILES_OS)) do copy "%%f" "$(subst /,\,$(INSTALL_DIR))"
-$(COMSPEC) /c for %%f in ($(INSTALL_FILES_OS)) do copy "%%f" "$(INSTALL_DIR_OS)"
else # bash