fix the check-stageN-doc-$doc targets, close #5661
auto merge of #6689 : graydon/rust/issue-5661-doc-test-targets, r=brson

Re-enables `make check-stage2-doc-tutorial` and friends. r? @brson