remove matchdep, copy to output/ not tmp/