dlang.org makefile pains

Jakob Ovrum via Digitalmars-d digitalmars-d at puremagic.com
Sat Mar 26 22:49:28 PDT 2016


Thanks all for the responses.

On Thursday, 24 March 2016 at 19:26:54 UTC, Andrei Alexandrescu 
wrote:
> On 03/22/2016 07:23 PM, Jakob Ovrum wrote:
>> On Tuesday, 15 March 2016 at 11:15:12 UTC, Jakob Ovrum wrote:
>>> All I want to do is test DDox with local dlang.org changes 
>>> and local
>>> Phobos changes.
>>
>> Bump. Please help. If Martin is the only one who understands 
>> the
>> makefile then we have a serious problem.
>
> I understand the makefile. So I see you tried
>
> make -f posix.mak apidocs-serve LATEST=2.070.2
>
> Let's first try:
>
> make -f posix.mak LATEST=2.070.2
>
> Building the latest documentation in /path/to/dlang.org assumes 
> you have /path/to/dmd, /path/to/druntime, and /path/to/phobos 
> synced up. If they are out of sync, things won't work.

I was under the impression that it was trying to build the docs 
for my local Phobos with DMD 2.069, which of course won't work, 
but I must have misunderstood, because I don't think it does that.

> Regarding the redundant download - I complained about that to 
> Martin (particularly since we already have a different 
> mechanism for loading specific versions of dmd/druntime/phobos) 
> and he said to not worry about it, it's a small download. I 
> mildly disagree with him, but there's only so many hours in the 
> day. I'd welcome a PR to fix that.

It's more confusing than anything. It's hard to tell what goes 
wrong when building the docs builds like 6? big codebases.



More information about the Digitalmars-d mailing list