According to Eric Blake on 3/3/2010 4:45 PM:
>>> AM_CFLAGS = $(WERROR_CFLAGS)
>>
>> ahh ok this way.
>> Before I change my 352 Makefile.am's:

By the way, I find that mass updates like this can easily be done with a
decent scripting language, or even a few shell commands, rather than
tediously doing it all by hand.  For example, (untested, but probably
close to what you want, to append given text at the end of all existing
Makefile.am):

script='$ a\
AM_CFLAGS += $(WERROR_CFLAGS)
'
find . -name Makefile.am | xargs sed -i -e "$script"

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to