[Lazarus] fpdocmanager questions & crash
Reinier Olislagers
reinierolislagers at gmail.com
Tue Apr 3 12:52:13 CEST 2012
On 3-4-2012 13:36, Hans-Peter Diettrich wrote:
> Reinier Olislagers schrieb:
>> On 2-4-2012 9:43, Hans-Peter Diettrich wrote:
>>> Reinier Olislagers schrieb:
>>>> On 1-4-2012 18:28, Hans-Peter Diettrich wrote:
>>>>> Reinier Olislagers schrieb:
>>>>>> Is it required to have fpcdocs under your FPC directory?
>>> Correction: you are right, according to the FPDoc documentation fpcdocs
>>> must reside inside a FPC source directory, so that the Makefile can find
>>> the units.
>> Hmmm... Where did you find that?
>
> In fpcdocs/README.DOCS. But FPCSRCDIR may be usable when the fpcdocs are
> in a different place (as mentioned there).
Ok thanks. I was reading the FPDoc reference manual pdf... ;)
>>>>>> 3. RTL step: noticed you need to create 2 Windows batch files.
>>>>>> Wouldn't
>>>>>> it be more useful if there were some cross platform way of generating
>>>>>> the rtl etc docs (e.g. shelling out to fpdoc with parameters like
>>>>>> lazbuild is doing right now?)
>>>>> These files can be omitted as soon as somebody explains how to use the
>>>>> FPCDocs Makefile to *only* create the FPDoc projects.
>>>> Not going there... make files are not my forte at all..
>>> Me2 :-(
>> Wondering how you are going to make that work for Linux/other OS...
>
> Not me :-(
>
> As long as FPC and Lazarus expect that every user can use a console, I
> see no better solution. Except that the developers should decide to
> distribute the FPDoc projects instead of the Makefile...
As I mentioned: instead of having the user run make blabla > bla.bat:
Perhaps you could create the batch/shell files from within fpdoc manager
using TProcess.Execute?
More information about the Lazarus
mailing list