[OpenAFS] Re: Notes on how to get filedrawers minimally working with R/W AFS access on Debian (at least).

Davor Ocelic docelic@spinlocksolutions.com
Mon, 8 Jun 2009 12:12:35 +0200

On Sun, 07 Jun 2009 20:12:56 -0700
Adam Megacz <megacz@hcoop.net> wrote:

> Jason Edgecombe <jason@rampaginggeek.com> writes:
> >>> So, it turns out that Adam Megacz expects you to still have
> >>> Apache 1 installed in order to build the damn thing.
> >> Yeah, this is because both the Apache1 module and the Apache2
> >> module are built from the same source package.
> >> If there are any Debian wizards out there who know how to make a
> >> multiple-binary-packages-from-one-source-package that lets you
> >> selectively build some of the binary packages but not others,

There's no built-in way to do this when building a Debian package.

The only way to do it would be to modify debian/rules to support
this explicitly, and then you'd call:

  make -f debian/rules <pkg1>

> > Why not build all of the pacjages and let the user choose as
> > apt-get time?
> That's what it currently does.

So this looks like the best option.

Note that you can easily install all build-time dependencies
of a <package> with:

  apt-get build-dep <package>

If you want to get rid of the packages later after build,
apt-get autoremove will do.