Each document now has its own build dir.