I am trying to prepare a package with some doc (PDF) inside. Here is basically what I did.

bzr whoami "[xxx]"
cd ~/Documents/src
tar cvzf makenator-doc-3rdparty_1.0.1.tar.gz makenator-doc-3rdparty
mv makenator-doc-3rdparty_*.tar.gz ~/Packages
cd ~/Packages
bzr dh-make makenator-doc-3rdparty 1.0.1 makenator-doc-3rdparty_1.0.1.tar.gz
cd makenator-doc-3rdparty
rm debian/*.ex debian/*.EX debian/README.*
vi debian/*
bzr add debian/source/format
bzr add debian/source
bzr add debian
bzr commit -m "Initial commit of 3rd party doc packaging 1.0.1."
bzr builddeb -- -us -uc
cd ..
scp * [xxx]:/Archive/mini-dinstall/incoming

All works, except that the .deb is 1416 bytes... and my makenator-doc-3rdparty_1.0.1.tar.gz is 1836556 bytes.

Any clue of what I missed?

Update #1:

Here is my file tree:

├── configure
├── debian
│   ├── changelog
│   ├── compat
│   ├── control
│   ├── copyright
│   ├── docs
│   ├── rules
│   ├── rules.dh7
│   └── source
│       └── format
├── 1.pdf
└── 2.pdf
  • have you tried to take a look into your deb-file? I beleive it is empty... – Alexey Vesnin Mar 24 '16 at 21:36
  • it is empty for sure, but why? Do I need to explicitely list the files or put them in a specific place? – jgp Mar 24 '16 at 22:37
  • yes you should add list – Alexey Vesnin Mar 24 '16 at 22:43
  • Thanks @AlexeyVesnin, but how do I do that? I updated my post with the tree. – jgp Mar 25 '16 at 12:44
  • Is it working now? – Alexey Vesnin Apr 2 '16 at 18:50

You need to start here at the official docs and this official tutorial - for your project I do recommend you to write a small makefile to facilitate corresponding targets like install anddebian/install file. You can start right here if you're not a newbie with Debian packaging, otherwise please take your time starting your reading from links I provided above

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.