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

--with switches in CVS



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 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.



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