building javadocs from root

Mike Duigou mike.duigou at oracle.com
Thu Jan 10 11:25:31 PST 2013


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




More information about the build-infra-dev mailing list