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:
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user