use doclang with and without custom docroot + check only for emptyness of docroot (suggestions by Rajesh Taneja)