Building the Docs with checked out code downoads old dmd

H. S. Teoh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Nov 21 13:00:26 PST 2015


On Sat, Nov 21, 2015 at 08:29:51PM +0000, yawniek via Digitalmars-d-learn wrote:
> i'm trying to build the docs as per
> http://wiki.dlang.org/Building_DMD#Building_the_Docs
> 
> i have a working setup to build the latest dmd/druntime/phobos but
> somehow the makefile tries to download an old dmd version and my
> bandwith currently is a bit restricted and i want an offline version.
> 
> also the documentation is a bit unclear on what actually happens and
> is being built.
> 
> would be really helpful.
[...]

To prevent downloading / building old versions of dmd, when running make
in the dlang.org repo, specify the 'html' target:

	make -f posix.mak html

This will also skip the Kindle builds and various other things that may
require installing additional tools.


T

-- 
Genius may have its limitations, but stupidity is not thus handicapped. -- Elbert Hubbard


More information about the Digitalmars-d-learn mailing list