Win32 Makefile template patch.
| From: | Richard Quadling | Date: | Wed, 07 May 2008 16:42:56 +0000 |
| Subject: | Win32 Makefile template patch. | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-37517@lists.php.net to get a copy of this message | ||
Hi.
In the past Cygwin was necessary to build PHP documentation. It isn't
anymore, but I've still got it on my machine.
The current Makefile template for win32 build of PHP uses rmdir, which
is being detected as an executable. This is probably nmake's fault as
rmdir at the command line will use the built-in one first.
The attached patch forces the use of 'rd' rather than 'rmdir'.
Cygwin's rmdir.exe doesn't support /s or /q
Windows rd does.
Obviously no cygwin === no rmdir rename required.
Richard.
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"