ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-dev
php-dev
Re: [PHP-DEV] Win32 Makefile template patch.
by Richard Quadling other posts by this author
May 8 2008 8:05AM messages near this date
Re: [PHP-DEV] Win32 Makefile template patch. | Re: [PHP-DEV] Win32 Makefile template patch.
2008/5/8 Steph Fox <steph@[...].com> :
>  Hi Richard,
> 
> > Basically search&replace rmdir with rd in the win32/build/Makefile
> 
>  Why? rd's just an alias of rmdir, and rmdir's the more human-readable of the
>  two.
> 
>  - Steph
> 

If only I could send the sound of my shoulders slumping as yet another
post is ignored/filtered. http://news.php.net/php.internals/37517

I truly believe that no one on this list reads my emails or
automatically filters them. If you want to just f*ck off, then say so.


As I said in the original post, if you have cygwin installed (as was
needed to build the PHP documentation in the bad old days before phd),
then rmdir.exe would be in your path).

It seems that nmake follows the path BEFORE using the shell. My proof
is that cygwin's rmdir.exe is executed. If I rename it then the
shell's rmdir is used. Revert the rename and cygwin's rmdir.exe is
executed. Simple.

cygwin's rmdir.exe doesn't support /s or /q so this when you try to
run nmake clean(xxxx) you get an error from rmdir.exe and no cleaning.

I could rename cygwin's rmdir, but then all my script relying on
rmdir.exe's behaviour fail (windows rd doesn't support --parents
--ignore-fail-on-non-empty, etc).

By using rd, this isn't found in the path by nmake and runs correctly
with the windows/dos options.

You can use filemon to see nmake hunting for rmdir.xxx where xxx is
the contents of PATHEXT in each PATH.

Richard.

-- 
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Richard Quadling
Hannes Magnusson
Steph Fox
Wietse Venema
Richard Quadling
Steph Fox
Steph Fox
Richard Quadling
Hector Santos
Richard Quadling
Hector Santos
Steph Fox
Richard Quadling
Steph Fox
Richard Quadling
Richard Quadling

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved