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

Re: Proposalto introduce compiler options passed from dpkg-buildpackage



On Fri, Dec 07, 2007 at 08:23:28AM +0100, Loïc Minier wrote:
>  With constructs like:
> ================
> PYVERS := $(shell pyversions -vr debian/control 2>/dev/null)
> 
> build-%:
> 	PYTHON=`which python$*` ./configure

I guess this should have been "`which $*` ./configure", right? If so,
read on.

> build: $(PYVERS:%=build-%)
> ================
>  And it doesn't even conflict with implemeting build-arch; it just makes
>  the test make moot.

And what would you loose in using something like:

  build-python%:
        PYTHON=`which python$*` ./configure
        ...
  build-arch:
        ...

?

Cheers

-- 
Stefano Zacchiroli -*- PhD in Computer Science ............... now what?
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
(15:56:48)  Zack: e la demo dema ?    /\    All one has to do is hit the
(15:57:15)  Bac: no, la demo scema    \/    right keys at the right time

Attachment: signature.asc
Description: Digital signature


Reply to: