Modify doc Makefile to not regenerate images if they have already exist.