docs: def _validate_build_target(self, spec, target):
          """
          Essentially validate that the target is inside the build_dir.
          """
  
          if not realpath(target).startswith(spec[BUILD_DIR]):
              raise ValueError('build_target %s is outside build_dir' % target)