The only documentation I can found about the dependencies file format (the file generated by -deps=xxx) is in bug 3122 (where the patch is), and it's not very straightforward to understand unless you are familiar with D's EBNF syntax description. I think the format should be documented in the dmd man page, and probably the website, etc. A couple of simple examples would be really helpful too, to easily understand the format.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dlang.org/issues/4011 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB