There should be a unit test to sanity check the files in debian/ that have special requirements. For example, debian/rules *must* use tabs for indentation rather than spaces. There are probably other gotchas that could easily be caught by a unit test.
A small start has been made on this kind of thing with bug 9802 adding xt/verify-debian-docbook.t