Do not use MINDOC_ROOT variable, and remove check-doc target from all target