www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Building the Docs with checked out code downoads old dmd

reply yawniek <dlang srtnwz.com> writes:
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.
Nov 21 2015
parent reply "H. S. Teoh via Digitalmars-d-learn" <digitalmars-d-learn puremagic.com> writes:
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
Nov 21 2015
parent bachmeier <no spam.com> writes:
On Saturday, 21 November 2015 at 21:04:26 UTC, H. S. Teoh wrote:
 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
Added to the wiki because I was having the same problem. http://wiki.dlang.org/Starting_as_a_Contributor
Nov 23 2015