Packaging mono hack - is there a way to do this?
Paul
paul at all-the-johnsons.co.uk
Sat Nov 29 15:48:53 UTC 2008
Hi,
As you all know, packaging mono apps involves a lot of makefile and pc
file patching so that instead of targeting /usr/lib, it targets
$(libdir). While I am actively trying to get Novell to stop being silly
and write their makefiles correctly, progress is slow there.
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.
It would certainly save a shed load of time!
TTFN
Paul
--
Sie können mich aufreizen und wirklich heiß machen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20081129/021eca3b/attachment.bin
More information about the devel
mailing list