Re: Packaging mono hack - is there a way to do this?

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

 



Paul wrote, at 11/30/2008 12:48 AM +9:00:
Hi,

As a thought, is there a way to do something like this

for i in [alldirectories]/Makefile.{in,am} \
         [alldirectories]/*.pc.in \
; do
sed -i -e 's!$(prefix)/lib!%{_libdir}!' "$i"
done

where [alldirectories] is a recursive call into every directory within
the application.

find . -name Makefile.in -or -name Makefile.am -or -name \*.pc.in \
	| while read f ; do ... ; done

for example.

Mamoru

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux