June 24, 2013
On Sat, Jun 22, 2013 at 08:11:25PM +0100, Joseph Rushton Wakeling wrote:
> Hello all,
> 
> I'm having problems building the docs.  I've got the latest d-programming-language.org checked out, and have tried to build with make -f posix.mak.
> 
> The basic html part builds fine, but it falls over when trying to build phobos-prerelease with the error:

Did you manage to get it working? Sorry for the late reply, I was busy all weekend. I find that a lot of D makefiles assume this directory structure:

	parent
	parent/d-programming-language.org
	parent/d-programming-language.org/web
	parent/d-programming-language.org/dmd
	parent/d-programming-language.org/druntime
	parent/d-programming-language.org/phobos

You might want to try organizing your directory tree to look something like the above; that may help you.

For me personally, I find that nesting dmd/druntime/phobos inside the git checkout of d-programming-language.org a tad ugly, so I use this instead:

	parent/d-programming-language.org
	parent/d-programming-language.org/web
	parent/dmd
	parent/druntime
	parent/phobos

But then building docs for phobos will put it in parent/web, and you have to manually merge it into where it's supposed to be. Or just cp -rp both web subdirs into the same place where your HTTP server expects them, and let the filesystem do the merging for you.


T

-- 
It only takes one twig to burn down a forest.
June 25, 2013
On Monday, 24 June 2013 at 19:20:44 UTC, H. S. Teoh wrote:
> For me personally, I find that nesting dmd/druntime/phobos inside the
> git checkout of d-programming-language.org a tad ugly, so I use this
> instead:
>
> 	parent/d-programming-language.org
> 	parent/d-programming-language.org/web
> 	parent/dmd
> 	parent/druntime
> 	parent/phobos

d-programming-language.org was changed to dlang.org, that is most likely the problem. No need for the web/ directory that will be created if everything else is placed correctly.