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.

Possible Duplicate:
Simplest Debian Packaging Guide?

I'm writing an IDE in C++ using Qt for the GUI and Qt Creator as an IDE. I have seen many tutorials about the Debian packaging system but I am still not sure I get it.

My program is not ready yet so I don't want to submit it to developer.ubuntu.com for someone to package it, but I want to do it to easily distribute a few copies.

I use Git for VCS and my code is hosted at Github.

I want to know if I should be keeping my code directory in a / related structure. Like: /usr/bin for the binaries and so on. This is for making the packaging process as easy as it can be. Do I need to modify the Makefile to put the binaries in /usr/bin or something like that? I do not have much experience with gnu make.

Is it a problem to host my code at Github? because I prefer it to launchpad and algo prefer Git to bazaar.

Also, can someone explain how to do the packaging process?

share|improve this question
add comment

marked as duplicate by Jorge Castro, bodhi.zazen, jokerdino, SpamapS, John S Gruber Aug 19 '12 at 16:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 1 down vote accepted

No, your source code doesn't need to match the installed layout. However the build system (Make / whatever you use) should install everything that's needed. And if a DESTDIR variable is provided, it should prefix that to the installation paths.

No, it's not a problem to host on github. If you want daily builds, you'll need to set up an automatic import into bzr on Launchpad, though.

If you're going through developer.ubuntu.com you don't need to worry about the packaging. They'll take care of it.

share|improve this answer
add comment

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