[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to build a package conditionally?



On Tue, 06 Mar 2001, Martin Bialasinski wrote:
> * Steve M Robbins <steven.robbins@videotron.ca> wrote:
> > What I am proposing is a source package that generates *both* a
> > "main" and a "contrib" .deb.
> 
> This is not allowed.

Or rather, it is... kinda. You can have your source package generate two
sets of .debs depending on how it is built, but you must upload it twice,
with different names (and building different sets of debs by default) to
every section.

See the fetchmail and fetchmail-ssl source packages for an example.
fetchmail-ssl is an automated transform of the fetchmail source package,
triggered by "make debian/rules select-ssl".

You gain nothing in upload time, but it certains give you less hassle to
only have one single source tree in CVS, for example.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

Attachment: pgp1q4lfXyTI_.pgp
Description: PGP signature


Reply to: