How do I submit documentation...

Chad J chadjoan at __spam.is.bad__gmail.com
Sat Jun 23 18:29:05 PDT 2012


On 06/23/2012 08:59 PM, Jesse Phillips wrote:
> On Sunday, 24 June 2012 at 00:40:08 UTC, Chad J wrote:
>
>> So how about it, all-encompassing D git repo and buildscripts please?
>
> The problem is, the documentation/website is built from the source code.
> The source code doesn't rely on the website, though you may need the in
> development dmd to build Phobos. dmd does not need Phobos. So while,
> better, you'd still just end up with a single repository with three
> submodules which would need downloaded. Or two repositories, on for the
> Phobos/dmd dependency then another for the website/phobos/dmd dependency.
>
> Directory structure.
>
> cwd: /path/to/some/place
>
> d-programming-language.org/
> phobos
> dmd
>
> dmd actually doesn't matter, you'll have to convince your environment to
> use the one you build though.

No way it is that easy.  My situation called for this:

src/web
src/phobos
src/druntime
dmd
linux/bin64/dmd -> ../../dmd/src/dmd
linux/bin64/dmd.conf  (Copy this from a released zip file.)
linux/lib64/libphobos2.a ->
   ../../src/phobos/generated/linux/debug/32/libphobos2.a
linux/lib64/libdruntime.a ->
   ../../src/druntime/lib/libdruntime.a

dmd.conf may need editing.

I am also left wondering if that is incomplete.  I probably forgot 
something.

(Noooo, you made me look!)

I don't like how much harder it is to find versions of DMD that compile 
versions of phobos.  Because they are in different repositories, there 
is no easy way to figure out which commits are in sync with which 
commits in the other repo.  I remember some amount of time recompiling 
while searching for commit versions that line up.


More information about the Digitalmars-d mailing list