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

Re: How to delete the .la file?



Paul Elliott <pelliott@blackpatchpanel.com> writes:
> On Wednesday, May 11, 2011 12:28:57 pm Andreas Moog wrote:

>> 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?

Usually, for library packages, you install into debian/tmp and then use
*.install configuration files to tell debhelper to put files into the
appropriate packages.  If your package follows that model, just omit the
*.la files from all the *.install files, and they won't be part of any
package.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: