These notes will be updated to proper documentation soon.
IMPORTANT — when building for the PPA, be very, very careful that you upload the proper, bona-fide upstream tarball available from the downloads page. Oh yes.
General:
Policy:
Distribution Regexp | Builder | Comments |
---|---|---|
generic | Generic | tarball: Builds a simple tarball of the current state of the tree |
debian.*, ubuntu.* | Debian | binary: builds a binary deb package source: builds a source package (a .dsc etc package) ppa: builds a source-based package ready for upload to the PPA official: a binary package as per Debian requirements for upload |
fedora.* | Fedora | Not implemented yet, coming soon |
PBuilder is a personal package builder for Debian/Ubuntu packages. It builds packages inside a chroot, in effect emulating how your package would build on a completely pristine installation. It is incredibly useful for identifying build dependencies and other problems.
Useful trick: Using pbuilder (along with my config files detailed under that link below), I can create a port for any Debian/Ubuntu distro using DIST=whatever make ubuntu binary -p
(where “whatever” is the target distro, eg. “jaunty”, “squeeze”, etc).
Here are some useful notes on PBuilder notes.