Re: Re: a weekly php.doc update
| From: | Hannes Magnusson | Date: | Sun, 16 Sep 2007 21:46:00 +0000 |
| Subject: | Re: Re: a weekly php.doc update | ||
| References: | 1 2 3 4 5 6 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969378137@lists.php.net to get a copy of this message | ||
On 9/16/07, Edward Z. Yang <edwardzyang@thewritingpot.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hannes Magnusson wrote:
> > The default make target is the html-dsssl build... We haven't used
> > that format for quite some time now.
> > If you could post the output of
Index: scripts/file-entities.php.in =================================================================== RCS file: /repository/phpdoc/scripts/file-entities.php.in,v retrieving revision 1.47 diff -u -p -r1.47 file-entities.php.in --- scripts/file-entities.php.in 12 Sep 2007 13:37:55 -0000 1.47 +++ scripts/file-entities.php.in 16 Sep 2007 21:44:14 -0000 @@ -395,7 +395,7 @@ function file2jade($path) { if ($GLOBALS['not_windows']) return realpath($path); - if ((bool)@WINJADE@ || stripos(PHP_OS, "cygwin") === false) { + if ((bool)@WINJADE@ || stripos(php_uname(), "cygwin") === false) { return strip_cygdrive($path); } else { return preg_replace('@^([a-zA-Z]):/@S', '/cygdrive/$1/', $path);
make test test_xml
> > however, that would help.
>
> Mmm, we should probably change that then, right?
I guess... :)
> Here's what I got now. It looks like some path munging went wrong, I'll
> take a look a file-entities.php and see what I can do.
>
> SP_ENCODING=XML SP_CHARSET_FIXED=YES /usr/bin/onsgmls -i lang-en -D . -s
> phpbook/phpbook-xml/phpdocxml.dcl manual.xml
> /usr/bin/onsgmls:manual.xml:60:1:E: cannot find
> "c:/php/phpdoc/en/bookinfo.xml"; tried
Ooops. Please try the attached patch :]
-Hannes
Index: scripts/file-entities.php.in =================================================================== RCS file: /repository/phpdoc/scripts/file-entities.php.in,v retrieving revision 1.47 diff -u -p -r1.47 file-entities.php.in --- scripts/file-entities.php.in 12 Sep 2007 13:37:55 -0000 1.47 +++ scripts/file-entities.php.in 16 Sep 2007 21:44:14 -0000 @@ -395,7 +395,7 @@ function file2jade($path) { if ($GLOBALS['not_windows']) return realpath($path); - if ((bool)@WINJADE@ || stripos(PHP_OS, "cygwin") === false) { + if ((bool)@WINJADE@ || stripos(php_uname(), "cygwin") === false) { return strip_cygdrive($path); } else { return preg_replace('@^([a-zA-Z]):/@S', '/cygdrive/$1/', $path);