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

Re: Some guidance with library package building



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/10/09 15:33, Alfonso Ruzafa wrote:
> I tried but it seems libfoo.install and libfoo-dev.install contents
> doesn't have any filter effect. Despite of the contents of these files
> (as pattern: lib*.so*, full name: libfoo.so.0.1.0 or full path name:
> /usr/lib/libfoo.so.0.1.0) debuild always collected all files placed in
> libfoo and libfoo-dev directories to build the packages, ignoring both
> libfoo.install and libfoo-dev.install.
> 
> These .install files are used by debuild? or to perform some copy
> operation while modifying the debian/rules Makefile?
> The only way I get to work is modifying the debian/rules files by
> creating directories and copying files manually.
> 
> install: build
>     dh_testdir
>     dh_testroot
>     dh_prep 
>     dh_installdirs
> 
>     # At beginning al files were copied in debian/tmp
>     # Add here commands to install the package into debian/tmp
> #    $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
> 
<snip>

I may be completely wrong here, but from what I can see you're telling
debhelper to install the files before you've made them. If I'm right,
moving dh_installdirs to after the MAKE line should fix this problem.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iJwEAQECAAYFAkrIuu4ACgkQ+9DWHFhEn29jKAP/YsngT4fby8bIISVF1w8z4nFQ
WEPRA2JaHKuxzPkwGGOWOR/TXfCOxdShVoNyQjp69Mp/kAxXrj2H1ozmPbGp5nDu
aBf8gi+HHqp5AWlPDwKUE+bshdn/YuRm0flZRDI1xQQkz772TNbIoX3B57xHETJK
B/hPy4oFx5XcNfajOZg=
=G6B4
-----END PGP SIGNATURE-----


Reply to: