building javadocs from root

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Jan 10 11:35:11 PST 2013


On 01/10/2013 11:25 AM, Mike Duigou wrote:
> For a while I have been trying to build javadocs using new build using:
>
> NEWBUILD=true make javadocs
>
> which fails consistently with:
>
> make[1]: Entering directory `/home/mike/code/jdk/jdk8/common/makefiles'
> make[1]: MakefileJavadoc.gmk: No such file or directory
> make[1]: *** No rule to make target `MakefileJavadoc.gmk'.  Stop.
> make[1]: Leaving directory `/home/mike/code/jdk/jdk8/common/makefiles'
>
> There is indeed no file common/makefiles/MakefileJavadoc.gmk
>
> I learned today from a colleague to instead use:
>
> cd common/makefiles
> make docs
>
> which seems to actually work. Is the "NEWBUILD=true make javadocs" supposed to work? Is building javadocs using new build officially working? What target *should* I be using?
>
> Mike
>


I use
     make -C build/MY_BUILD_DIR docs

-- Jon



More information about the build-infra-dev mailing list