Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a repo branch that i have mirrored in Launchpad that I am trying to setup a daily build. The problem is that the source directory of the package is a subdirectory in the branch. When building locally it's no problem because I can just change to that directory. However with launchpad's bzr-builder it does everything from the top directory in the branch.

My current build recipe is:

# bzr-builder format 0.3 deb-version {debupstream}-{revno}-{revno:packaging}
nest-part packaging lp:~szechyjs/kegbot/kegbot_debian debian debian

Ideally I would use lp:kegbot/pykeg but this is not possible in bzr.

Is there a easy way I can build the package in the kegbot/pykeg directory, by setting it up in my recipe or some kind of source directory variable in the rules file?

share|improve this question

There is no way to do this from the recipe itself.

I would recommend doing the replacemented of . with pykeg from within debian/rules.

share|improve this answer
Before I monkey around with some scripting to do this, any suggestions on how to do this from the rules file? – Jared Jul 21 '11 at 2:26
It really depends on the package itself. The simplest thing would be to just cd to pykeg before e.g. running configure and make. – jelmer Jul 23 '11 at 19:41

Your Answer


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.