--with switches in CVS

Rex Dieter rdieter at math.unl.edu
Mon Mar 21 16:25:03 UTC 2005

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

-- Rex

More information about the fedora-extras-list mailing list