2009/5/9 Grammostola Rosea <rosea.grammostola@gmail.com>:
Neil Williams wrote:
On Sat, 09 May 2009 21:11:25 +0200
Grammostola Rosea <rosea.grammostola@gmail.com> wrote:
After you build the package, check the contents of debian/tmp
Use the matching paths in your own files.
I can't find an debian/tmp folder...
\r
You've probably only got a single package, so check the contents of
debian/$package
Doesn't have that either..
A quick tutorial about debian packaging "states". When you build your
package everything that needs to be compiled gets compiled. Then
everything is installed into a temporary directory inside debian/ then
various dh_ commands are run to change/make the temporary directories
fit for actual binary .deb. At the the end metadata, maintainer
scripts and those temp directories are compressed into an archive with
name ending in deb.
To get better understanding let's do this:
1) Change into the directory of your package, eg. cd foo-1.0/
2) Run this command
debuild binary
3) Now go into debian/ and look what you have in there. A good way to
see what's there is to run this:
du -a