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

Re: How to delete the .la file?

On Wednesday, May 11, 2011 12:28:57 pm Andreas Moog wrote:
> On 05/11/2011 06:30 PM, Patrick Matthäi wrote:
> > Am 11.05.2011 18:27, schrieb Paul Elliott:
> >> I gather that new libraries in the usual case are supposed to delete the
> >> la file.  What is the standard way to accomplish this if the package is
> >> written in dh?
> > 
> > I am just using the following snippet in my rules:
> > find debian/tmp/usr/lib -type f -name \*.la -exec sed
> > 's/^dependency_libs/#dependency_libs/g' -i {} \;
> That cleans out the dependency_libs entry in the la-file, which is the
> correct thing to do IF there is another package referencing that file.
> However, if that's not the case (like when packaging a new library), the
> la-file shouldn't be installed at all.

OK, how do I do that? Exactly what do I put in the rules file?

Paul Elliott                               1(512)837-1096
pelliott@BlackPatchPanel.com               PMB 181, 11900 Metric Blvd Suite J
http://www.free.blackpatchpanel.com/pme/   Austin TX 78758-3117

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

Reply to: