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

Re: In a single binary source package how does one fail to install some files?



On Tue, 16 Aug 2011 20:52:24 -0700
Vincent Cheng <vincentc1208@gmail.com> wrote:

> On Tue, Aug 16, 2011 at 8:41 PM, Paul Elliott
> <pelliott@blackpatchpanel.com> wrote:
> >
> > When I was building a library and I wanted to not install the .la
> > file that make install was creating, I could just leave it out of
> > all of the package.install files and it would not be installed.
> >
> > In a single binary package how do I not install a file that make
> > install creates?

> To not install any .la files in your package, you could try overriding
> dh_install as follows (in debian/rules):
> 
> override_dh_install:
> 	find . -name "*.la" -delete
> 	dh_install

ftr, dh_install has an --exclude option too.
thanks,
kk

-- 
Karl Goetz, (Kamping_Kaiser / VK5FOSS)
Debian contributor / gNewSense Maintainer
http://www.kgoetz.id.au
No, I won't join your social networking group

Attachment: signature.asc
Description: PGP signature


Reply to: