Re: Proposalto introduce compiler options passed from dpkg-buildpackage
On Thu, Dec 06, 2007, Steve Langasek wrote:
> Then why in the world are you using "build-%" if you don't support
> build-arch? What other values of '%' are you using?
build-python2.4, build-python2.5...
With constructs like:
================
PYVERS := $(shell pyversions -vr debian/control 2>/dev/null)
build-%:
PYTHON=`which python$*` ./configure
...
build: $(PYVERS:%=build-%)
================
And it doesn't even conflict with implemeting build-arch; it just makes
the test make moot.
glib2.0 has a very similar example for each of its flavors ("deb" and
"udeb").
--
Loïc Minier
Reply to: