rename selection_make_deps to selection_make_matchdeps, add marker support