I am building a Debian package from a source tarball. The initial debian
directory is created with dh_make
.
It creates a directory debian
in the directory my tarball was extracted to. I then customize the content of the debian
directory to fit my packaging needs. Then I build the package with dpkg-buildpackage -b
.
My question is: What is the best (canonical?) way to put the contents of the customized debian
directory in version control?
Do I just copy it out of the source directory, keep it in version control somewhere and every time I built, I extract the tarball and copy the directory back?