make: transitioning to new prerequsite structuring
refactoring sphinx build tools, stage 1
refactoring sphinx code