--with switches in CVS

Michael Schwendt bugs.michael at gmx.net
Mon Mar 21 18:16:46 UTC 2005


On Mon, 21 Mar 2005 10:25:03 -0600, Rex Dieter wrote:

> Aurelien Bompard wrote:
> > Hi all,
> > 
> > I've looked at Makefile.common, and I can't find a way to specify --with
> > build switches, short or redefining RPM_WITH_DIRS of course (which is not
> > really handy)
> > Could we have something like:
> > make i386 WITH="mysql"
> > which would expand to:
> > rpmbuild [...] --with mysql specfile.spec
> 
> If this does get implemented, don't forget the companion
> make i386 WITHOUT="foo"
> expanding to:
> rpmbuild [...] --without foo bar.spec

Or a generic EXTRA_OPS="..." which is appended to the rpmbuild command-line
and could contain other options, too, e.g. "--define ..."




More information about the fedora-extras-list mailing list