[phobos] How to build the Phobos docs?

Andrei Alexandrescu andrei at erdani.com
Thu Feb 3 11:28:47 PST 2011


I looked into this and I don't know what the best way is.

Essentially it makes little sense to build Phobos without having the 
site around. Practically this is because std.ddoc is in the 
d-programming-language.org repository (as I think it should).

If you have this structure:

somedir/
   phobos/
   d-programming-language.org/

it all works automatically. If you have d-programming-language.org 
elsewhere, do this:

make html DOCSRC=/path/to/d-programming-language.org

Suggestions for improving this are welcome.

Andrei

On 2/3/11 5:16 AM, Lars Tandle Kyllingstad wrote:
> When I run "make -f posix.mak html" I now get the message
>
>           make: *** No rule to make target
>          `../web/phobos-prerelease/phobos.html', needed by `html'. Stop.
>
> If I create the file manually, I get more of the same:
>
>          make: *** No rule to make target
>          `../web/phobos-prerelease/std_algorithm.html', needed by `html'.
>          Stop.
>
> Is the makefile broken, or is there something I need to do before
> running make?
>
> -Lars
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list