Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

2008-10-15 Thread Vincent Snijders
Henry Vermaak schreef: > 2008/10/15 John Stoneham <[EMAIL PROTECTED]>: >> On Wed, Oct 15, 2008 at 3:25 PM, Henry Vermaak <[EMAIL PROTECTED]> >> wrote: >>> yes, i know about that way, since i use bash, but i thought it was >>> bash specific? have you tested with other shells? you can also use >>>

Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

2008-10-15 Thread Vincent Snijders
John Stoneham schreef: > > > On Wed, Oct 15, 2008 at 2:33 PM, John Stoneham <[EMAIL PROTECTED] > > wrote: > > > Alright, I don't know what the deal is with sed on OS X, if it's > behaving properly or what (sed syntax has always eluded me). Anyway > I've at

Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

2008-10-15 Thread Henry Vermaak
2008/10/15 John Stoneham <[EMAIL PROTECTED]>: > On Wed, Oct 15, 2008 at 3:25 PM, Henry Vermaak <[EMAIL PROTECTED]> > wrote: >> >> yes, i know about that way, since i use bash, but i thought it was >> bash specific? have you tested with other shells? you can also use >> "basename" to remove suffix

Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

2008-10-15 Thread John Stoneham
On Wed, Oct 15, 2008 at 3:25 PM, Henry Vermaak <[EMAIL PROTECTED]>wrote: > > yes, i know about that way, since i use bash, but i thought it was > bash specific? have you tested with other shells? you can also use > "basename" to remove suffixes. > Well, the script invokes bash to run itself (th

Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

2008-10-15 Thread John Stoneham
On Wed, Oct 15, 2008 at 2:33 PM, John Stoneham <[EMAIL PROTECTED]>wrote: > > Alright, I don't know what the deal is with sed on OS X, if it's behaving > properly or what (sed syntax has always eluded me). Anyway I've attached two > patch files that correct build_lcl_html.sh and build_gtkintf_html.

Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

2008-10-15 Thread John Stoneham
On Wed, Oct 15, 2008 at 2:42 PM, Vincent Snijders < [EMAIL PROTECTED]> wrote: > John Stoneham schreef: > > > I did not notice that, because you change still did contain the sed call: > > # create description file list > DescrFiles='' > for unit in $UnitList; do > ShortFile=`echo $unit | sed -e '

Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

2008-10-15 Thread Henry Vermaak
On 15/10/2008, John Stoneham <[EMAIL PROTECTED]> wrote: > On Wed, Oct 15, 2008 at 10:10 AM, Henry Vermaak > <[EMAIL PROTECTED]>wrote: > >> yes, maybe it's getting confused by the multiple -e. have you tried >> sed 's/\(\.pp\|\.pas\)\b//g'? that sed should probably only run once, >> too (on the ou

Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

2008-10-15 Thread Vincent Snijders
John Stoneham schreef: > On Wed, Oct 15, 2008 at 10:10 AM, Henry Vermaak <[EMAIL PROTECTED] > > wrote: > > yes, maybe it's getting confused by the multiple -e. have you tried > sed 's/\(\.pp\|\.pas\)\b//g'? that sed should probably only run once, > too (on

Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

2008-10-15 Thread John Stoneham
On Wed, Oct 15, 2008 at 1:13 PM, John Stoneham <[EMAIL PROTECTED]>wrote: > On Wed, Oct 15, 2008 at 10:10 AM, Henry Vermaak <[EMAIL PROTECTED]>wrote: > >> yes, maybe it's getting confused by the multiple -e. have you tried >> sed 's/\(\.pp\|\.pas\)\b//g'? that sed should probably only run once, >

Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

2008-10-15 Thread John Stoneham
On Wed, Oct 15, 2008 at 10:10 AM, Henry Vermaak <[EMAIL PROTECTED]>wrote: > yes, maybe it's getting confused by the multiple -e. have you tried > sed 's/\(\.pp\|\.pas\)\b//g'? that sed should probably only run once, > too (on the output of the ls). > Yeah, I figured it was the sed command that

Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

2008-10-15 Thread Henry Vermaak
2008/10/15 Vincent Snijders <[EMAIL PROTECTED]>: > John Stoneham schreef: >> Well, I think I've fixed the script with two simple lines. >> >> The original build_lcl_html.sh (and build_gtkintf_html.sh as well) have >> the following around line 30 or so: >> --- >> # cr

Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

2008-10-15 Thread Vincent Snijders
John Stoneham schreef: > Well, I think I've fixed the script with two simple lines. > > The original build_lcl_html.sh (and build_gtkintf_html.sh as well) have > the following around line 30 or so: > --- > # create description file list > DescrFiles='' > for unit i

Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work [solution inside]

2008-10-08 Thread John Stoneham
Well, I think I've fixed the script with two simple lines. The original build_lcl_html.sh (and build_gtkintf_html.sh as well) have the following around line 30 or so: --- # create description file list DescrFiles='' for unit in $UnitList; do ShortFile=`echo $unit

Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work

2008-10-07 Thread John Stoneham
On Tue, Oct 7, 2008 at 12:06 PM, Vincent Snijders <[EMAIL PROTECTED] > wrote: > John Stoneham schreef: > > For a while now, I've maintained a local copy of the fcl, rtl, and lcl > > docs by creating a mirror using wget. This is a nasty kludge, but it > works. > > While this is nice for our sourcef

Re: [Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work

2008-10-07 Thread Vincent Snijders
John Stoneham schreef: > For a while now, I've maintained a local copy of the fcl, rtl, and lcl > docs by creating a mirror using wget. This is a nasty kludge, but it works. While this is nice for our sourceforge statistics, it may be easier to download a docs snapshot from ftp://ftp.hu.freepasc

[Lazarus] Using the "build_html.sh" script on Mac OS X doesn't work

2008-10-07 Thread John Stoneham
I've been trying for quite a while to build the html documentation using the supplied build_html.sh script, however it never seems to work. Here's the error I get: An unhandled exception occurred at $00035510 : EFOpenError : Unable to open file "../../xml/lcl/alllclunits.pp.xml" $00035510 $000