From: nobu.nokada@... Date: 2005-06-07T11:39:02+09:00 Subject: Re: COPY and INSTALL on Windows Hi, At Tue, 7 Jun 2005 05:30:28 +0900, daz wrote in [ruby-core:05156]: > > 1.8.3p1 has changed the defaults for the COPY and INSTALL Makefile > > macros on Windows from "cp" and "install" to "copy > nul" for both. > > This would be fine (and probably work better), except that a lot of > > extensions seem to end up providing paths delimited with a "/" to the > > COPY and/or INSTALL command, and "copy" on Windows doesn't handle it > > properly. For an example, try building and installing > > 'win32-semaphore' using 1.8.3p1. INSTALL_{PROG,DATA} have been fixed already in CVS, and "/" should be replaced with "\" since Apr 20. > I thought it was just bccwin that had this problem because Borland > 'make' macros are different from nmake, usually having the trailing > path separator present. > > This patch to lib\mkmf.rb gets my copies through and it should work > on mswin & bccwin but I'm not sure if it's suitable for merging. Do you say that `copy foo bar\' doesn't work, where a file `foo' and a directory `bar' exist? -- Nobu Nakada