Add build-deptree and implement checking deps on removing