Bug#402604: debian/rules: "this is a kludge"

Marc Haber mh+debian-packages at zugschlus.de
Sun Oct 7 14:13:32 UTC 2007


tags #402604 upstream
forwarded #402604 http://bugs.exim.org/show_bug.cgi?id=610
thanks

On Mon, Dec 11, 2006 at 05:11:36PM +0100, Marc Haber wrote:
> debian/rules:
> build-exim4-daemon-heavy/exim: configure-stamp
>         echo build-exim4-daemon-heavy
>         dh_testdir
> 
>         rm -rf $(BUILDDIR)/build-$(buildname)
>         # Add here command to compile/build the package.
>         mkdir -p $(BUILDDIR)/Local
>         cp EDITME.exim4-heavy $(BUILDDIR)/Local/Makefile
>         cd $(BUILDDIR) && $(MAKE) Local/Makefile configure
>         # This is a kludge. The upstream Makefile should be fixed, really.
>         cd $(BUILDDIR) && $(MAKE) -C build-$(buildname) checklocalmake Makefile os.h os.c config.h buildpcre buildlookups buildrouters buildtransports buildauths exim
> 
> Task: Find out why this is a kludge, whether upstream Makefile has
> already been fixed or not. If yes, remove kludge and replace with
> non-kludge. If no, file upstream wishlist request to have Makefile
> fixed.

This is meant to build only an exim daemon without the utility
binaries like exigrep, exiqsum et al. We only need them once, build
them with exim4-daemon-light, and thus try to build only the daemon
for -heavy and -custom by calling a subset of the prerequisites of the
allexim target in build-tree/build-$OS-$ARCH/Makefile.

I have filed an upstream bug to have this fixed, marking this bug as
forwarded.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835





More information about the Pkg-exim4-maintainers mailing list