From 24841c49f93131cab4ebaee3fc8cbfd52e643908 Mon Sep 17 00:00:00 2001 From: aph Date: Wed, 2 Apr 2003 20:04:30 +0000 Subject: [PATCH] Sec "Multiple binary packages": fix awkward wording about vim source package; closes: #187143; some notes and FIXMES which need to be dealt with git-svn-id: svn://anonscm.debian.org/ddp/manuals/trunk/developers-reference@2232 313b444b-1b9f-4f58-a734-7bb04f332e8d --- developers-reference.sgml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/developers-reference.sgml b/developers-reference.sgml index 01a10be..ab5b26f 100644 --- a/developers-reference.sgml +++ b/developers-reference.sgml @@ -6,7 +6,7 @@ %commondata; - +

The Package Tracking System (PTS) is basically a tool to track by mail the activity of a source package. You just have to subscribe @@ -3086,22 +3090,22 @@ documentation and examples (in /usr/share/doc/dpatch). Multiple binary packages

A single source package will often build several binary packages, -either to provide several flavors of the same software (examples are -the vim-* packages) or to make several small +either to provide several flavors of the same software (e.g., +the vim source package) or to make several small packages instead of a big one (e.g., if the user can install only the subset she needs, and thus save some disk space).

The second case can be easily managed in debian/rules. You just need to move the appropriate files from the build directory into the package's temporary trees. You can do this using -install (vanilla approach) or dh_install -(from debhelper). Be sure to check the different +install or dh_install +from debhelper. Be sure to check the different permutations of the various packages, ensuring that you have the inter-package dependencies set right in debian/control.

The first case is a bit more difficult since it involves multiple -recompiles of the same software but with different configure -options. The vim is an example of how to manage +recompiles of the same software but with different configuration +options. The vim source package is an example of how to manage this using an hand-crafted debian/rules file.