Preparation:
# apt-get install debian-policy developers-reference \ maint-guide dh-make debhelper # apt-get install packaging-manual # if Potato
References for packaging:
The Debian package management system, Section 2.2 (basics)
Debian New Maintainers' Guide (tutorial)
dh-make(1)
Debian Developer's Reference (best practice)
Debian Policy Manual (authoritative)
Packaging Manual (Potato)