Re: abiword.spec


Subject: Re: abiword.spec
From: Rui Miguel Seabra (rms@multicert.com)
Date: Fri Oct 26 2001 - 06:32:22 CDT


Hello,

On Thu, 2001-10-25 at 14:36, Joaquin Cuenca Abela wrote:
> I guess that we have some
> ifdef ABI_OPT_GNOME
and ifndefs :)

> ifeq ($(ABI_OPT_GNOME),1)
and ifneqs

> Try this script (at abi/):
> find . -name "Makefile" -exec perl -pi~ -e 's/ifdef ABI_OPT_GNOME/ifeq
> \(\$\(ABI_OPT_GNOME\),1\)/g' '{}' ';'
> I've not tested it, so be surprised if it works.

it worked flawlessly, except it changed every makefile :)
I just did a grep `find` and applied the perl script to every instance,
also to ifndefs.

Thanks for your help Joaquin.
I now have a gtk+ only build built with the rpm without changes.

I did, however, some cosmetic changes, and befor uploading a new rpm
spec, I'll do some more.

Hugs, rms
 

-- 
+ No matter how much you do, you never do enough -- unknown
+ Whatever you do will be insignificant,
| but it is very important that you do it -- Ghandi
+ So let's do it...?




This archive was generated by hypermail 2b25 : Fri Oct 26 2001 - 06:36:31 CDT