How to recover the debian/ dir
I once packaged my own utility using debhelper and the resulted
myutil_1.0-1.deb was installed succefully.
Now I updated myutil and intent to build myutil_1.1. I could go through the
same process from dh_make ..... The mentors from this mailing list always
suggest to copy the debian dir and I understand it will save me a lot of
repeated work. The problem is I did not save the debian dir last time.
How can I recover the debian dir from myutil_1.0-1.deb ?
I tried "dpkg -X myutil_1.0-1.deb myutil" and recovered the control file.
Is that all? I think the deb file contains all the information needed to
install a package, like the preinst, prerm,.... Am I missing something?
Another quick question: why does debhelper add "-1" to the version number?
Any information is highly appreciated