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

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



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!

Attachment: signature.asc
Description: This is a digitally signed message part


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