BLD: return 0 if BUILD_DOC is nonzero