Move the generation of library-*.dot files to Makefile.
Files are generated in the build-latest
job and are propagated to the doc
job using artifacts, which eliminates the need for a dedicated Makefile
. This forces us to move the doc
job to the test
stage.