dlang.org makefile pains

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Sun Mar 27 00:02:35 PDT 2016


On Sunday, 27 March 2016 at 06:05:08 UTC, Jakob Ovrum wrote:
> On Tuesday, 15 March 2016 at 11:15:12 UTC, Jakob Ovrum wrote:
>> All I want to do is test DDox with local dlang.org changes and 
>> local Phobos changes.
>
> Now I'm hitting an old issue again - whether using the default 
> make target or apidocs-serve, DDox doesn't seem to generate 
> updated docs when I make changes in Phobos after the first 
> build, while the DDoc output *does* update.
>
> i.e. make root/dlang.org with default target, edit root/phobos 
> in a way that changes generated documentation, then make the 
> docs again. root/dlang.org/web/phobos-prerelease/ will be 
> updated but root/dlang.org/web/library-prerelease/ will remain 
> unchanged from the first build.
>
> It works when rebuilding after make clean, which of course 
> takes a significant amount of time.

Yeah, DDox doesn't track dependencies. For apidocs-serve, I think 
regenerating the JSON file should be enough.


More information about the Digitalmars-d mailing list