Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have created an application using Qt. I have two folders in the project , one containing the source code and other the binaries, makefile etc. I created an archive , used dh_make etc. and uploaded the package to ppa. But my archive simply contains two folders. How do create a tar.gz file which contains usr/share/icons, and other folders as other applications have

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You don't put compiled binaries in the tarball (tar.gz), just the source code. Then use the debian packaging helper scripts to create a debianized singed source package (command would be debuild -S IIRC) and upload the dsc file to the PPA. Launchpad will then build the actual debian packages with binaries and the correct directory structure depending on the configuration. To not stress launchpads resources more than neccessary you should try pbuilder first on you local machine. The Ubuntu wiki has a complete packaging guide and more on that topic.

share|improve this answer
    
Your link is broken: wiki.ubuntu.com/PackagingGuide/Complete –  Kamil Slowikowski Oct 26 at 15:22
    
Maybe you use 7zip, and that can be install in softwarecenter, and sudo apt-get install 7zip –  Michael Oct 26 at 18:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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