only add doc subdir if the caller explicitly requests it by setting BUILD_DOC