--with switches in CVS

Aurelien Bompard gauret at free.fr
Mon Mar 21 16:01:25 UTC 2005


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
We'll also have to deal with multiple arguments in the WITH variable, so I
guess a for loop adding "--with $element" for each space-separated element
in WITH could work.

Since we'll have to change the Makefile.common to add the make tag target
IIRC, could this be added at the same time ?

Thanks a lot

Aurélien
-- 
http://gauret.free.fr   ~~~~   Jabber : abompard at jabber.fr
It is by caffeine alone that I set my mind in motion. It is by the beans of
java that the thoughts acquire speed, the hands acquire shaking, the shaking
becomes a warning. It is by caffeine alone that I set my mind in motion.





More information about the fedora-extras-list mailing list