It first build the RGL, then calls doc/Makefile, with the corrent GF_LIB_PATH, to build the documentation.