make distclean
One purpose of this file is to install the program under the package build directories. For instance, documentation should be installed under usr/share/doc/package in package build directories. When installing the package, dpkg will simply open the archive and move the files in the host directories.
After installed the files in a local tree structure and fixed the permissions, md5 checksums are generated for all the files and moved under DEBIAN , along with the control file. The last step is the macro dh_builddeb which calls dpkg-deb to create the DEB file: DEBIAN/ is dumped as control.tar.gz and the local tree structure as data.tar.gz .