I was given this advice from Arthur, a Debian developer, but I can't find some of the finer details I'm looking for:
-------
I recommend looking at https://wiki.debian.org/UpstreamGuide to somepointers about how to make it easy to ensure your software can beeasily packaged in Debian.If you're looking to create a deb package that is ready to be includedin Debian it is best to have your debian/ directory on a separatebranch. I recommend using git-buildpackage, seehttps://wiki.debian.org/PackagingWithGit (this is what mostcollaboratively maintained packages use now).For information on how to create Debian packages seehttps://www.debian.org/doc/manuals/developers-reference/ (particularlychapters 5 and 6). If you want to look at more of the background thereis the policy document, see https://www.debian.org/doc/debian-policy/There are a lot of tools for efficiently building Debian packages. Ifyou want to test your builds in a more controlled environment youshould probably use pbuilder (of cowbuilder) because those use a cleanchroot to build your packages to ensure you have the correctdependencies specified.Hope this helps ----------
Thanks