Actually, if I write the subst rule this way

INSTALL_FILES_OS := $(subst "/","\",$(INSTALL_FILES))

it works using INSTALL_FILES_OS inside the OS/2 section of instsh.mk

Maurilio.

Maurilio Longo wrote:
> Viktor,
> 
> If I use INSTALL_DIR_OS, there is no problem, problems come from
> INSTALL_FILES_OS where it seems there are double backslashes and/or mixed
> slashes: see the output
> 
> (E:\REPOSITORY\HARBOUR)make install
> ! MAKE: make 3.81 install  D:\OS2\CMD.EXE
> ! HB_BIN_INSTALL: e:\harbour\bin
> ! HB_LIB_INSTALL: e:\harbour\lib
> ! HB_INC_INSTALL: e:\harbour\include
> ! HB_HOST_ARCH: os2 (x86)  HB_SHELL: os2
> ! HB_ARCHITECTURE: os2 (x86)
> ! HB_COMPILER: gcc
> ! HB_INSTALL_PREFIX automatically set to: E:\repository\harbour
> make[2]: Nothing to be done for `install'.
> make[3]: `../../../../../lib/os2/gcc/hbcommon.a' is up to date.
> os2-cp: cannot create regular file 
> `e:\\harbour\\lib/..\\..\\lib\\os2\\gcc\\hbco
> mmon.a': No such file or directory
> make[2]: [install] Error 1 (ignored)
> make[3]: `../../../../../lib/os2/gcc/hbnortl.a' is up to date.
> os2-cp: cannot create regular file 
> `e:\\harbour\\lib/..\\..\\lib\\os2\\gcc\\hbno
> rtl.a': No such file or directory
> make[2]: [install] Error 1 (ignored)
> make[3]: `../../../../../lib/os2/gcc/hbpp.a' is up to date.
> os2-cp: cannot create regular file 
> `e:\\harbour\\bin/..\\..\\bin\\os2\\gcc\\hbpp
> .exe': No such file or directory
> make[2]: [install] Error 1 (ignored)
> os2-cp: cannot create regular file 
> `e:\\harbour\\lib/..\\..\\lib\\os2\\gcc\\hbpp
> .a': No such file or directory
> make[2]: [install] Error 1 (ignored)
> 
> 
> as if the subst command of make is making something wrong.
> 
> Just as a note, I don't care which way are the used slashes :)
> 
> Maurilio.
> 
> [email protected] wrote:
>> Revision: 12262
>>           
>> http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12262&view=rev
>> Author:   vszakats
>> Date:     2009-08-22 12:52:00 +0000 (Sat, 22 Aug 2009)
>>
>> Log Message:
>> -----------
>> 2009-08-22 14:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
>>   * config/global.mk
>>     + Display MAKESHELL value if set.
>>
>>   * config/globsh.mk
>>     * Updated OS/2 GNU tools information: os2-cp.exe requires 
>>       *forward* slashes in filenames.
>>
>> Modified Paths:
>> --------------
>>     trunk/harbour/ChangeLog
>>     trunk/harbour/config/global.mk
>>     trunk/harbour/config/globsh.mk
>>
>>
>> This was sent by the SourceForge.net collaborative development platform, the 
>> world's largest Open Source development site.
>> _______________________________________________
>> Harbour mailing list
>> [email protected]
>> http://lists.harbour-project.org/mailman/listinfo/harbour
>>
> 

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.


_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to